29 lines
745 B
Text
29 lines
745 B
Text
|
|
---
|
||
|
|
//import "../global.css";
|
||
|
|
import Header from "../components/Header.astro";
|
||
|
|
import Footer from "../components/Footer.astro";
|
||
|
|
|
||
|
|
import { urlfrag } from "../utils/path.js";
|
||
|
|
|
||
|
|
const { title } = Astro.props;
|
||
|
|
const base = import.meta.env.BASE_URL;
|
||
|
|
---
|
||
|
|
|
||
|
|
<!doctype html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
|
<link rel="icon" type="image/svg+xml" href={urlfrag(base, 'favicon.svg')} />
|
||
|
|
<link rel="icon" href={urlfrag(base, 'favicon.png')} />
|
||
|
|
<meta name="generator" content={Astro.generator} />
|
||
|
|
<title>{title}</title>
|
||
|
|
</head>
|
||
|
|
<body class="flex flex-col min-h-screen">
|
||
|
|
<Header />
|
||
|
|
<main class="grow">
|
||
|
|
<slot />
|
||
|
|
</main>
|
||
|
|
<Footer />
|
||
|
|
</body>
|
||
|
|
</html>
|