feat: idk bro

This commit is contained in:
TrèsAbhi committed 2026-01-18 18:38:26 -06:00
1 parent 49f84db473
commit 323d624ec7
8 files changed
+191 -48

No files matched your search

@@ -4,15 +4,17 @@ import BaseStyles from "../components/BaseStyles.astro";
import ColorAlias from "../components/ColorAlias.astro";
import ColorScale from "../components/ColorScale.astro";
import Navbar from "../components/Navbar.astro";
import type { Tool } from "../core/tools/tools";
import type { Color } from "../core/ui/color";
interface Props {
locale: string;
accent: Color;
noNavbar?: boolean;
selectedTool?: Tool;
}
const { accent, noNavbar, locale } = Astro.props;
const { accent, noNavbar, locale, selectedTool } = Astro.props;
---
<html lang={locale}>
@@ -65,6 +67,6 @@ const { accent, noNavbar, locale } = Astro.props;
<slot />
</div>
{!noNavbar && <Navbar {locale} />}
{!noNavbar && <Navbar {selectedTool} {locale} />}
</body>
</html>