diff --git a/app/page.tsx b/app/page.tsx index 3f36f7c..9cd7b1b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,65 +1,25 @@ -import Image from "next/image"; +import { getPosts } from '@/lib/posts' +import { PostList } from '@/components/blog/PostList' + +export default async function HomePage() { + const posts = await getPosts() -export default function Home() { return ( -
-
- Next.js logo -
-

- To get started, edit the page.tsx file. -

-

- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -

-
-
- - Vercel logomark - Deploy Now - - - Documentation - -
-
-
- ); +
+
+

+ blog +

+

+ A sleek static blog with code and math. +

+
+
+

+ Latest Posts +

+ +
+
+ ) }