mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: autoreloader dom
This commit is contained in:
1 parent
d2a6379131
commit
a364b79a9b
4 files changed
+47
-14
No files matched your search
@@ -2,13 +2,15 @@
|
||||
import "@fontsource-variable/inter";
|
||||
import BaseMeta from "../components/BaseMeta.astro";
|
||||
import BaseStyles from "../components/BaseStyles.astro";
|
||||
import Navbar from "../components/Navbar.astro";
|
||||
import type { Color } from "../pages/styles/colors/[accent].css";
|
||||
|
||||
interface Props {
|
||||
accent: Color;
|
||||
noNavbar?: boolean;
|
||||
}
|
||||
|
||||
const { accent } = Astro.props;
|
||||
const { accent, noNavbar } = Astro.props;
|
||||
---
|
||||
|
||||
<html>
|
||||
@@ -18,6 +20,7 @@ const { accent } = Astro.props;
|
||||
</head>
|
||||
|
||||
<body class="dark">
|
||||
{!noNavbar && <Navbar />}
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user