2025-12-19 21:25:55 -06:00
|
|
|
---
|
|
|
|
|
import "@fontsource-variable/inter";
|
2025-12-20 19:10:11 -06:00
|
|
|
import BaseMeta from "../components/BaseMeta.astro";
|
|
|
|
|
import BaseStyles from "../components/BaseStyles.astro";
|
2025-12-24 19:33:01 -06:00
|
|
|
import Navbar from "../components/Navbar.astro";
|
2025-12-19 22:23:03 -06:00
|
|
|
import type { Color } from "../pages/styles/colors/[accent].css";
|
|
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
|
accent: Color;
|
2025-12-24 19:33:01 -06:00
|
|
|
noNavbar?: boolean;
|
2025-12-19 22:23:03 -06:00
|
|
|
}
|
|
|
|
|
|
2025-12-24 19:33:01 -06:00
|
|
|
const { accent, noNavbar } = Astro.props;
|
2025-12-19 21:25:55 -06:00
|
|
|
---
|
|
|
|
|
|
2025-12-18 16:45:02 -06:00
|
|
|
<html>
|
|
|
|
|
<head>
|
2025-12-20 19:10:11 -06:00
|
|
|
<BaseMeta />
|
|
|
|
|
<BaseStyles {accent} />
|
2025-12-18 16:45:02 -06:00
|
|
|
</head>
|
|
|
|
|
|
2025-12-19 21:25:55 -06:00
|
|
|
<body class="dark">
|
2025-12-24 19:33:01 -06:00
|
|
|
{!noNavbar && <Navbar />}
|
2025-12-18 16:45:02 -06:00
|
|
|
<slot />
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|