jalil.arfaoui.net/src/layouts/PhotoLayout.astro

34 lines
1.2 KiB
Text
Raw Normal View History

---
import PhotoFooter from '../components/photo/PhotoFooter.astro';
const { title = "Galerie Photo - Jalil Arfaoui", enableScroll = false } = Astro.props;
---
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{title}</title>
<!-- Google Fonts - Karla -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
<!-- Dark mode script (appliqué directement pour la galerie) -->
<script is:inline>
document.documentElement.classList.add('dark')
</script>
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.png" />
<Fragment set:html={import.meta.env.HEADER_INJECT} />
</head>
<body class={`antialiased bg-black text-white ${enableScroll ? '' : 'overflow-hidden'}`} style="font-family: 'Karla', 'Helvetica Neue', Helvetica, Arial, sans-serif;">
<slot />
<PhotoFooter />
<Fragment set:html={import.meta.env.FOOTER_INJECT} />
</body>
</html>