summaryrefslogtreecommitdiff
path: root/src/pages/index.astro
diff options
context:
space:
mode:
authorIwanIDev <iwan@iwani.dev>2026-03-21 12:41:49 +0000
committerIwanIDev <iwan@iwani.dev>2026-03-21 12:41:49 +0000
commit72f129472044a97ffa06136da0a473581914c7e9 (patch)
treede9d0116f8f7da3716917e484efe1ebceb14f267 /src/pages/index.astro
Initial Commit
Set up Astro and shadcn/ui
Diffstat (limited to 'src/pages/index.astro')
-rw-r--r--src/pages/index.astro17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro
new file mode 100644
index 0000000..ad15f25
--- /dev/null
+++ b/src/pages/index.astro
@@ -0,0 +1,17 @@
+---
+import Layout from "@/layouts/main.astro"
+import { Button } from "@/components/ui/button"
+---
+
+<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>
+ </div>
+ </div>
+</Layout>