diff --git a/src/app/_components/grid/cards/latest-post.tsx b/src/app/_components/grid/cards/latest-post.tsx index 6de529d0..7c5b5e98 100644 --- a/src/app/_components/grid/cards/latest-post.tsx +++ b/src/app/_components/grid/cards/latest-post.tsx @@ -1,34 +1,32 @@ -import { posts } from '#content' import Link from 'next/link' +import { posts } from '#content' + 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 +
+
+
+
+ Latest post - - + {latestPost.title} - -