diff options
| author | William Hergès <william@herges.fr> | 2025-08-09 17:21:33 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-09 17:21:33 +0200 |
| commit | 1b763e17ecbe46a3cee806a7177b0bd60e15bf44 (patch) | |
| tree | 45cd4cd4be93ce0c4b80cb86ec21ee882c0afc56 /src/pages | |
| parent | e5c92241cf23546e8fdccd92050c02516f0abd9a (diff) | |
refactor(html): create layout
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/index.astro | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro index 39e338f..d648c4b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,31 +2,24 @@ import "../scss/style.scss"; import MosaicBackground from "../component/MosaicBackground.astro"; import VideoAuto from "../component/VideoAuto.astro"; +import Base from "../layout/Base.astro"; --- -<html lang="fr"> - <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>Arnaud Hergès</title> - </head> - <body> - <header> - <h1>Arnaud Hergès</h1> - <div class="tags"> - <p class="tag">batteur</p> - <p class="tag">-</p> - <p class="tag">compositeur</p> - <p class="tag">-</p> - <p class="tag">producteur</p> - <p class="tag">-</p> - <p class="tag">références</p> - <p class="tag">-</p> - <p class="tag">contact</p> - </div> - </header> +<Base> + <header> + <h1>Arnaud Hergès</h1> + <div class="tags"> + <p class="tag">batteur</p> + <p class="tag">-</p> + <p class="tag">compositeur</p> + <p class="tag">-</p> + <p class="tag">producteur</p> + <p class="tag">-</p> + <p class="tag">références</p> + <p class="tag">-</p> + <p class="tag">contact</p> + </div> + </header> </body> <main> <section class="batteur"> @@ -66,7 +59,7 @@ import VideoAuto from "../component/VideoAuto.astro"; </div> </section> </main> -</html> +</Base> <script is:inline defer> const sections = document.querySelectorAll("section"); |
