mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
feat: start on header
This commit is contained in:
1 parent
51b2d1ce86
commit
220e4388d4
10 files changed
+102
-16
No files matched your search
@@ -1,9 +1,20 @@
|
||||
---
|
||||
import locales from "@blitzkit/i18n/locales.json";
|
||||
import "@radix-ui/colors/amber-dark.css";
|
||||
import packageJson from "../../../../package.json";
|
||||
import HomeHero from "../components/HomeHero.astro";
|
||||
import { tools } from "../core/tools/tools";
|
||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
import type { GetStaticPaths } from "astro";
|
||||
import packageJson from "../../../../../package.json";
|
||||
import HomeHero from "../../components/HomeHero.astro";
|
||||
import { tools } from "../../core/tools/tools";
|
||||
import BaseLayout from "../../layouts/BaseLayout.astro";
|
||||
|
||||
export const getStaticPaths = (() => {
|
||||
return [
|
||||
...locales.supported
|
||||
.filter(({ locale }) => locale !== locales.default)
|
||||
.map(({ locale }) => ({ params: { locale }, props: { locale } })),
|
||||
{ params: { locale: undefined }, props: { locale: locales.default } },
|
||||
];
|
||||
}) satisfies GetStaticPaths;
|
||||
---
|
||||
|
||||
<BaseLayout accent="amber">
|
||||
|
||||
Reference in new issue
Block a user