From c1e28224aa2e1450031669d9a7e359b63e04687d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 19:40:59 +0200 Subject: Init --- src/ui/components/ReleaseCard.tsx | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/ui/components/ReleaseCard.tsx (limited to 'src/ui/components/ReleaseCard.tsx') diff --git a/src/ui/components/ReleaseCard.tsx b/src/ui/components/ReleaseCard.tsx new file mode 100644 index 0000000..bffe256 --- /dev/null +++ b/src/ui/components/ReleaseCard.tsx @@ -0,0 +1,47 @@ +import type { Select } from "corvos"; + +import type site from "@/corvos.config.ts"; + +import { CardBody } from "$/ui/objects/CardBody.tsx"; +import { Heading } from "$/ui/objects/Heading.tsx"; + +import { Card, type Props as CardProps } from "../objects/Card.tsx"; + +export type Props = CardProps<"a"> & { + "heading-level": "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; + "page": Select; +}; + +export const ReleaseCard = ({ "heading-level": headingLevel, page, ...props }: Props) => { + return ( + + + + + + {page.data.title} + + + + +
    +
  • + +
  • +
+
+
+ ); +}; -- cgit v1.3.1