mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
---
|
|
import { Flex } from '@radix-ui/themes';
|
|
import { BlitzKitTheme } from '../components/BlitzKitTheme';
|
|
import Footer from '../components/Footer.astro';
|
|
import Navbar from '../components/Navbar.astro';
|
|
import Party3 from '../components/Party3.astro';
|
|
const { pathname } = Astro.url;
|
|
|
|
const isRoot = pathname === '/';
|
|
---
|
|
|
|
<style is:global>
|
|
@import '@radix-ui/themes/styles.css';
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
|
|
<!-- MIGRATION TODO: roboto flex font -->
|
|
<html lang="en">
|
|
<head>
|
|
{
|
|
isRoot && (
|
|
<>
|
|
<title>BlitzKit</title>
|
|
<meta
|
|
name="description"
|
|
content="🎉 Tools for everything World of Tanks Blitz"
|
|
/>
|
|
</>
|
|
)
|
|
}
|
|
<meta property="og:site_name" content="BlitzKit" />
|
|
<link rel="icon" type="image/x-icon" href="/favicon.png" />
|
|
|
|
<Party3 />
|
|
</head>
|
|
|
|
<body>
|
|
<BlitzKitTheme>
|
|
<Flex direction="column" minHeight="100vh">
|
|
<Navbar />
|
|
|
|
<!-- <Checks /> -->
|
|
|
|
<!-- <Suspense fallback={(<PageLoader />)}> -->
|
|
<slot />
|
|
<!-- </Suspense> -->
|
|
|
|
<Footer />
|
|
</Flex>
|
|
</BlitzKitTheme>
|
|
</body>
|
|
</html>
|