website/src/layouts/Layout.astro

30 lines
592 B
Text

---
interface Props {
title: string;
}
const { title } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Sako's site! :)" />
<meta name="viewport" content="width=device-width" />
<meta name="image" content="/icon.png">
<link rel="icon" type="image/svg+xml" href="/icon.png" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<slot />
</body>
</html>
<style is:global>
html {
font-family: monospace;
background: #101010;
color: white;
}
</style>