mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: we don't talk about it
This commit is contained in:
1 parent
71e1ab1362
commit
8ef355c574
13 files changed
+20
-230
No files matched your search
@@ -7,7 +7,6 @@ import Navbar from '../components/Navbar.astro';
|
||||
import Party3 from '../components/Party3.astro';
|
||||
import './base.css';
|
||||
import { DEFAULT_LOCALE } from '@blitzkit/i18n';
|
||||
import Funny from '../components/Funny.astro';
|
||||
|
||||
export interface Props {
|
||||
noFooter?: boolean;
|
||||
@@ -24,17 +23,12 @@ const locale = Astro.params.locale ?? DEFAULT_LOCALE;
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Schoolbell&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<Party3 />
|
||||
|
||||
<script>
|
||||
import { SUPPORTED_LOCALES } from '@blitzkit/i18n';
|
||||
import { getBestLocale } from '../core/i18n/getBestLocale';
|
||||
|
||||
const isAPI = window.location.pathname.startsWith('/api');
|
||||
const isI18nPath = SUPPORTED_LOCALES.some((locale) =>
|
||||
window.location.pathname.startsWith(`/${locale}`),
|
||||
@@ -60,8 +54,6 @@ const locale = Astro.params.locale ?? DEFAULT_LOCALE;
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<Funny />
|
||||
|
||||
<BlitzKitTheme>
|
||||
<Flex direction="column" minHeight="100vh">
|
||||
<Navbar />
|
||||
|
||||
Reference in new issue
Block a user