kios-webapp/astro/src/layouts/Layout.astro
Max Schmidt d30d3e61b9 lool
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-17 11:56:36 +02:00

21 lines
442 B
Plaintext

---
import "../global.css";
export interface Props {
title: string;
}
const { title } = Astro.props;
---
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200">
<slot />
</body>
</html>