From d65b4f44e6c0d4a2527d57419c72765f2552594a Mon Sep 17 00:00:00 2001 From: Krishna Ayyalasomayajula Date: Mon, 1 Jun 2026 19:49:08 -0500 Subject: [PATCH] feat: add homepage with hero and post listing --- app/page.tsx | 84 ++++++++++++++-------------------------------------- 1 file changed, 22 insertions(+), 62 deletions(-) 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 +

+ +
+
+ ) }