2026-06-05 14:31:12 -06:00
|
|
|
---
|
|
|
|
|
//import "../global.css";
|
|
|
|
|
import Header from "../components/Header.astro";
|
|
|
|
|
import Footer from "../components/Footer.astro";
|
2026-08-10 14:59:05 -06:00
|
|
|
import Meta from "../components/Meta.astro";
|
2026-06-05 14:31:12 -06:00
|
|
|
|
|
|
|
|
import { urlfrag } from "../utils/path.js";
|
|
|
|
|
|
2026-08-10 14:59:05 -06:00
|
|
|
const { title, image } = Astro.props;
|
2026-06-05 14:31:12 -06:00
|
|
|
const base = import.meta.env.BASE_URL;
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<!doctype html>
|
2026-11-24 14:29:42 -07:00
|
|
|
<html lang="en">
|
2026-06-05 14:31:12 -06:00
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2026-08-06 10:30:42 -06:00
|
|
|
<meta name="theme-color" content="#28303c" />
|
2026-08-10 14:59:05 -06:00
|
|
|
<Meta title={title} image={image} />
|
2026-06-05 14:31:12 -06:00
|
|
|
<link rel="icon" type="image/svg+xml" href={urlfrag(base, 'favicon.svg')} />
|
|
|
|
|
<link rel="icon" href={urlfrag(base, 'favicon.png')} />
|
|
|
|
|
<title>{title}</title>
|
2026-11-24 14:29:42 -07:00
|
|
|
<script>
|
2026-11-27 17:42:43 -07:00
|
|
|
import { theme } from '../utils/theme.ts';
|
|
|
|
|
theme();
|
2026-06-22 15:03:55 -06:00
|
|
|
</script>
|
2026-06-05 14:31:12 -06:00
|
|
|
</head>
|
|
|
|
|
<body class="flex flex-col min-h-screen">
|
|
|
|
|
<Header />
|
|
|
|
|
<main class="grow">
|
|
|
|
|
<slot />
|
|
|
|
|
</main>
|
|
|
|
|
<Footer />
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|