feat: display all posts on home page

This commit is contained in:
Stevan Freeborn
2023-09-15 17:52:01 -05:00
parent 31dd29a9c2
commit 638ba3ce5c
6 changed files with 109 additions and 3 deletions
+10 -1
View File
@@ -1,3 +1,12 @@
import AllPosts from '@/components/AllPosts';
export default function Home() {
return <main className='flex-1'></main>;
return (
<main className='flex flex-col items-center flex-1'>
<div className='flex flex-col w-full max-w-4xl gap-4'>
<h1 className='text-4xl font-bold'>Home</h1>
<AllPosts />
</div>
</main>
);
}