aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/BaseLayout.astro
blob: f33ca69bcda5fa2531f1bc0b3a95a7eaa69d0816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
import Analytics from "../components/Analytics.astro";
import Head from "../components/Head.astro";
import Header from "../components/Header.astro";
import "../scss/global.scss";

type Props = {
	readonly description: string;
	readonly title: string;
	readonly lang: string;
};

const { title, description, lang } = Astro.props;
---

<html lang={lang}>
	<Head title={title} description={description} />

	<body>
		<main>
			<section>
				<Header />
			</section>

			<slot />
		</main>
		<Analytics />
	</body>
</html>