import { getISODate } from "@repo/utils/dates" import "katex/dist/katex.min.css" import { Typography } from "@repo/ui/Design/Typography" import { MainLayout } from "@repo/ui/Layout/MainLayout" import type { BlogPost } from "./BlogPost.tsx" import { BlogPostContent } from "./BlogPostContent.tsx" export interface BlogPostUIProps { blogPost: BlogPost } export const BlogPostUI: React.FC = (props) => { const { blogPost } = props return (
{blogPost.frontmatter.title}

{getISODate(new Date(blogPost.frontmatter.publishedOn))}

) }