From d82fb3b552d20a279efdd9408042183cfa02fb48 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 25 Dec 2025 23:33:25 +0000 Subject: initial commit --- components/post-card.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 components/post-card.tsx (limited to 'components/post-card.tsx') diff --git a/components/post-card.tsx b/components/post-card.tsx new file mode 100644 index 0000000..4990188 --- /dev/null +++ b/components/post-card.tsx @@ -0,0 +1,20 @@ +import { type Post } from "contentlayer/generated" +import { format, parseISO } from "date-fns" +import Link from "next/link" + +export function PostCard(post: Post) { + return ( +
+ +

+ {post.title} +

+ +
+ +
+
+ ) +} -- cgit v1.3.1