2024-09-04 21:16:37 +00:00
|
|
|
---
|
2024-09-12 22:42:08 +00:00
|
|
|
import Analytics from "../components/Analytics.astro";
|
2024-09-17 23:24:24 +00:00
|
|
|
import Footer from "../components/Footer.astro";
|
2024-09-05 15:01:13 +00:00
|
|
|
import Head from "../components/Head.astro";
|
|
|
|
import Header from "../components/Header.astro";
|
2024-09-12 11:31:39 +00:00
|
|
|
import "../scss/global.scss";
|
2024-09-11 22:03:55 +00:00
|
|
|
|
2024-09-12 16:36:57 +00:00
|
|
|
type Props = {
|
|
|
|
readonly description?: string;
|
|
|
|
readonly title?: string;
|
|
|
|
};
|
|
|
|
|
2024-09-12 22:57:55 +00:00
|
|
|
const { description, title } = Astro.props;
|
2024-09-04 21:16:37 +00:00
|
|
|
---
|
|
|
|
|
2024-09-11 22:17:56 +00:00
|
|
|
<html lang="ru">
|
2024-09-12 22:57:55 +00:00
|
|
|
<Head
|
|
|
|
description={description ?? import.meta.env.DEFAULT_DESCRIPTION}
|
|
|
|
title={title ?? import.meta.env.DEFAULT_TITLE}
|
|
|
|
/>
|
2024-09-04 21:16:37 +00:00
|
|
|
|
|
|
|
<body>
|
2024-09-05 15:01:13 +00:00
|
|
|
<Header />
|
2024-09-12 13:11:16 +00:00
|
|
|
<main>
|
2024-09-05 15:01:13 +00:00
|
|
|
<slot />
|
2024-09-12 13:11:16 +00:00
|
|
|
</main>
|
2024-09-12 22:57:55 +00:00
|
|
|
<Analytics title={title ?? import.meta.env.DEFAULT_TITLE} />
|
2024-09-17 23:24:24 +00:00
|
|
|
<Footer />
|
2024-09-04 21:16:37 +00:00
|
|
|
</body>
|
|
|
|
</html>
|