33 lines
737 B
Text
33 lines
737 B
Text
---
|
|
import { astroI18n } from "astro-i18n";
|
|
astroI18n.init(Astro);
|
|
|
|
import "../styles/style.css";
|
|
|
|
import Header from "../components/Header.astro";
|
|
|
|
const { pageTitle, titleColor, lang } = Astro.props;
|
|
---
|
|
|
|
<html lang={astroI18n.langCode} dir="ltr">
|
|
<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>{pageTitle} - Nicolas Arduin</title>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<Header />
|
|
<main id="skip-content" role="main">
|
|
<slot />
|
|
</main>
|
|
</div>
|
|
</body>
|
|
<style define:vars={{ titleColor }}>
|
|
h1 {
|
|
color: var(--titleColor);
|
|
}
|
|
</style>
|
|
</html>
|