30 lines
620 B
Plaintext
30 lines
620 B
Plaintext
---
|
|
import '../styles/style.css';
|
|
|
|
import Header from '../components/Header.astro';
|
|
|
|
const { pageTitle, titleColor } = Astro.props;
|
|
---
|
|
|
|
<html lang="fr" 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>
|
|
<Header />
|
|
<main role="main">
|
|
<h1>{pageTitle}</h1>
|
|
<slot/>
|
|
</main>
|
|
</body>
|
|
<style define:vars={{ titleColor }}>
|
|
h1 {
|
|
color: var(--titleColor);
|
|
}
|
|
</style>
|
|
</html>
|