mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
feat: migrated home page
This commit is contained in:
1 parent
fcac6e36fd
commit
292df5f5d9
21 files changed
+457
-288
No files matched your search
@@ -0,0 +1,57 @@
|
||||
---
|
||||
import { Flex, Theme } from '@radix-ui/themes';
|
||||
import '@radix-ui/themes/styles.css';
|
||||
const { pathname } = Astro.url;
|
||||
|
||||
const isRoot = pathname === '/';
|
||||
---
|
||||
|
||||
<style>
|
||||
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>
|
||||
<Theme
|
||||
appearance="dark"
|
||||
panelBackground="solid"
|
||||
radius="full"
|
||||
accentColor="amber"
|
||||
suppressHydrationWarning
|
||||
suppressContentEditableWarning
|
||||
>
|
||||
<Flex direction="column" minHeight="100vh">
|
||||
<!-- {!hideNav && <Navbar />} -->
|
||||
|
||||
<!-- <Checks /> -->
|
||||
|
||||
<!-- <Suspense fallback={(<PageLoader />)}> -->
|
||||
<slot />
|
||||
<!-- </Suspense> -->
|
||||
|
||||
<!-- {!hideNav && <Footer />} -->
|
||||
</Flex>
|
||||
</Theme>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user