mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: idk bro
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user