diff options
Diffstat (limited to 'src/pages/index.astro')
| -rw-r--r-- | src/pages/index.astro | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro index ce6dc4e..22adfcf 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,17 +1,11 @@ --- import Counter from '../components/Counter'; +import CenteredLayout from '../layouts/CenteredLayout.astro'; --- -<html lang="en"> - <head> - <meta charset="utf-8" /> - <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> - <meta name="viewport" content="width=device-width" /> - <meta name="generator" content={Astro.generator} /> - <title>Astro</title> - </head> - <body> - <h1>Astro</h1> +<CenteredLayout title="Astro"> + <div class="text-center"> + <h1 class="text-4xl font-bold mb-6">Astro</h1> <Counter client:load /> - </body> -</html> + </div> +</CenteredLayout> |
