diff options
author | 2025-06-05 12:45:05 +0000 | |
---|---|---|
committer | 2025-06-05 12:45:05 +0000 | |
commit | ba8164f9bafe4eab5b2353d3c4fbc4b872d328d4 (patch) | |
tree | 3dcff3b78de15e03adeb407f26729fd1cd14cbb7 /src/pages/index.astro | |
download | astro-examples/with-tailwindcss.tar.gz astro-examples/with-tailwindcss.tar.zst astro-examples/with-tailwindcss.zip |
Sync from 0947a69192ad6820970902c7c951fb0cf31fcf4bexamples/with-tailwindcss
Diffstat (limited to 'src/pages/index.astro')
-rw-r--r-- | src/pages/index.astro | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 000000000..6350a3330 --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,25 @@ +--- +import '../styles/global.css'; +// Component Imports +import Button from '../components/Button.astro'; + +// Full Astro Component Syntax: +// https://docs.astro.build/basics/astro-components/ +--- + +<html lang="en"> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width" /> + <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> + <meta name="generator" content={Astro.generator} /> + <title>Astro + TailwindCSS</title> + </head> + + <body> + <div class="grid place-items-center h-screen content-center"> + <Button>Tailwind Button in Astro!</Button> + <a href="/markdown-page" class="p-4 underline">Markdown is also supported...</a> + </div> + </body> +</html> |