import { Link } from "@remix-run/react"; import { BlogWrapper } from "~/components/BlogWrapper"; type PostProps = { filename: string; title: string; published: string; description: string | null; }; export function Post({ title, description, filename, published }: PostProps) { return (
{title} {`(${new Date( published, ).toLocaleDateString()})`} {description &&
{description}
}
); }