import Link from "next/link"; import { Chevron } from "./ui"; export type PostSummary = { id: string; title: string; createdAt: string | null; }; const fmt = (iso: string | null) => iso ? new Date(iso).toLocaleDateString("en-US", { month: "short", year: "numeric", timeZone: "UTC", }) : ""; export function WritingCard({ posts }: { posts: PostSummary[] }) { return (

Writing

All posts
); }