diff --git a/src/app/_components/grid/cards/latest-post.tsx b/src/app/_components/grid/cards/latest-post.tsx new file mode 100644 index 00000000..6de529d0 --- /dev/null +++ b/src/app/_components/grid/cards/latest-post.tsx @@ -0,0 +1,37 @@ +import { posts } from '#content' +import Link from 'next/link' +import { Date } from '~/components/date' +import { getSortedPosts } from '~/lib/get-sorted-posts' + +export function LatestPost() { + const { title } = { + title: 'My latest post dsdsadsadasdsadsa' + } + + const latestPost = getSortedPosts(posts)[0] + + const Divider = () => ( + + ) + + return ( + + Latest post + + + + + {latestPost.title} + + + + + + + + + ) +}