mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
correct default navbar tool
This commit is contained in:
20 files changed
+41
-28
No files matched your search
@@ -3,6 +3,7 @@ import { api } from "../../../../../api/dynamic";
|
||||
import { mixStaticPaths } from "../../../../../astro/mixStaticPaths";
|
||||
import ColorScale from "../../../../../components/ColorScale.astro";
|
||||
import ColorRanks from "../../../../../components/ColorRanks.astro";
|
||||
import { tools } from "../../../../../constants/tools";
|
||||
import BaseLayout from "../../../../../layouts/BaseLayout.astro";
|
||||
import { getStaticPaths as _getStaticPaths } from "../index.astro";
|
||||
import { Page } from "./_index";
|
||||
@@ -19,7 +20,7 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, async () => {
|
||||
const { id, locale } = Astro.props;
|
||||
---
|
||||
|
||||
<BaseLayout {locale} accent="violet">
|
||||
<BaseLayout tool={tools.tanks} {locale} accent="violet">
|
||||
<ColorScale color="ruby" />
|
||||
<ColorScale color="cyan" />
|
||||
<ColorScale color="green" />
|
||||
|
||||
@@ -11,7 +11,7 @@ export { getStaticPaths } from "../index.astro";
|
||||
const { locale } = Astro.props;
|
||||
---
|
||||
|
||||
<BaseLayout {locale} accent="purple">
|
||||
<BaseLayout tool={tools.tanks} {locale} accent="purple">
|
||||
<ColorScale color="blue" />
|
||||
<ColorScale color="amber" />
|
||||
<ColorScale color="red" />
|
||||
|
||||
Reference in new issue
Block a user