blob: ed3baeb10d22c840d39f723675924efa1b73926c (
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
30
31
32
|
---
import type { WithContext, Thing } from "schema-dts";
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 lang: string;
readonly preview: string;
readonly schema: WithContext<Thing>;
readonly title: string;
};
const { description, lang, preview, schema, title } = Astro.props;
---
<html lang={lang}>
<Head title={title} description={description} preview={preview} schema={schema} />
<body>
<main>
<section>
<Header />
</section>
<slot />
</main>
<Analytics />
</body>
</html>
|