---
import { ClientRouter } from "astro:transitions";
import "../styles/global.css";

const { title, description } = Astro.props;
---

<html lang="en" transition:name="root" transition:animate="none">
	<head>
		<meta charset="utf-8" />
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<meta name="viewport" content="width=device-width" />
		<meta name="generator" content={Astro.generator} />
		{description ? <meta name="description" content={description} /> : null}

		<title>{title ?? "Move to Linux"}</title>
	</head>
	<body>
		<slot />
		<ClientRouter />
	</body>
</html>
