diff options
| author | IwanIDev <iwan@iwani.dev> | 2026-03-21 12:41:49 +0000 |
|---|---|---|
| committer | IwanIDev <iwan@iwani.dev> | 2026-03-21 12:41:49 +0000 |
| commit | 72f129472044a97ffa06136da0a473581914c7e9 (patch) | |
| tree | de9d0116f8f7da3716917e484efe1ebceb14f267 /src/pages | |
Initial Commit
Set up Astro and shadcn/ui
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/index.astro | 17 |
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> |
