import { Markdown } from ':components/Markdown.tsx' import { NewsFrontMatter } from ':src/blog/types.ts' export type BlogProps = { title: string description: string body: string author: string publisher: string lastUpdate: Date name: string url: string hash: string options: NewsFrontMatter['x-cohabit'] tags: NewsFrontMatter['tags'] } export function BlogCard( { title, description, author, lastUpdate, name, options, tags, publisher }: BlogProps, ) { return (
) } export function BlogPost( { title, description, author, lastUpdate, body, url, options, tags, publisher, }: BlogProps, ) { return (