summaryrefslogtreecommitdiff
path: root/src/pages/index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/index.astro')
-rw-r--r--src/pages/index.astro23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro
index ad15f25..9d04eae 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,17 +1,22 @@
---
import Layout from "@/layouts/main.astro"
import { Button } from "@/components/ui/button"
+import BlogPosts from "@/components/BlogPosts.astro"
---
<Layout>
- <div class="flex min-h-svh p-6">
- <div class="flex max-w-md min-w-0 flex-col gap-4 text-sm leading-loose">
- <div>
- <h1 class="font-medium">Project ready!</h1>
- <p>You may now add components and start building.</p>
- <p>We've already added the button component for you.</p>
- <Button client:load className="mt-2">Button</Button>
- </div>
+ <main class="flex flex-col min-h-svh p-6 items-center">
+ <!-- Title -->
+ <div class="flex flex-col items-center">
+ <h1 class="text-4xl font-bold text-center mt-10">Iwan Ingman's Blog</h1>
+ <p class="text-lg text-center text-muted-foreground mt-4">
+ This is my blog.
+ </p>
</div>
- </div>
+
+ <!-- Content -->
+ <!-- List Astro posts -->
+ <BlogPosts />
+ </main>
</Layout>
+