import { Link } from 'remix'; type Props = { folder: string; slug: string; title: string; children: React.ReactNode; tags?: string[]; }; export function Tag({ tag }: { tag: string }) { return ( #{tag} ); } export function Card({ folder, slug, title, children, tags }: Props) { return ( {/* Sunset in the mountains */}
{title}

{children}

{tags?.map((t) => ( ))}
); }