Files
blitzkit/packages/website/src/pages/index.astro
T

104 lines
2.6 KiB
Plaintext
Raw Normal View History

2024-09-14 12:18:30 -05:00
---
2024-10-07 17:48:10 -05:00
import { Box, Flex, Heading } from '@radix-ui/themes';
2024-10-09 22:35:10 -05:00
import { Ad } from '../components/Ad';
2024-09-14 18:32:36 -05:00
import HomeHero from '../components/HomeHero.astro';
import { Plugs } from '../components/Plugs.tsx';
2024-09-14 13:24:24 -05:00
import ToolCard from '../components/ToolCard.astro';
import {
compareTool,
discordTool,
moreTool,
sessionTool,
tankopediaTool,
tankPerformanceTool,
} from '../constants/tools';
import RootLayout from '../layouts/RootLayout.astro';
---
2024-09-14 12:18:30 -05:00
2024-09-14 19:43:14 -05:00
<RootLayout>
<HomeHero />
2024-09-14 12:18:30 -05:00
2024-09-14 19:43:14 -05:00
<Plugs />
2024-09-14 13:24:24 -05:00
2024-09-14 19:43:14 -05:00
<Flex p="4" justify="center" gap="4">
<Flex maxWidth="64rem" flexGrow="1" gap="4" direction="column">
<ToolCard tool={tankopediaTool} />
2024-09-14 13:24:24 -05:00
2024-10-09 22:35:10 -05:00
{
(
2024-09-14 13:24:24 -05:00
<Flex justify="center">
2024-10-09 22:35:10 -05:00
<Ad client:only="react" />
2024-09-14 13:24:24 -05:00
</Flex>
)
2024-10-09 22:35:10 -05:00
}
2024-09-14 13:24:24 -05:00
2024-10-10 16:08:35 -05:00
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
{/* <ToolCard tool={playerStatsTool} /> */}
<ToolCard tool={compareTool} />
<ToolCard tool={tankPerformanceTool} />
</Flex>
2024-09-14 19:43:14 -05:00
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={sessionTool} />
{/* <ToolCard tool={embedTool} /> */}
2024-10-07 17:48:10 -05:00
<!-- <ToolCard tool={ratingTool} /> -->
<ToolCard tool={discordTool} />
2024-09-14 19:43:14 -05:00
</Flex>
2024-09-14 13:24:24 -05:00
2024-09-14 19:43:14 -05:00
<!-- {
2024-09-14 13:24:24 -05:00
!exempt && (
<Flex
justify="center"
display={{
initial: 'flex',
md: 'none',
}}
>
<AdMidSectionResponsive />
</Flex>
)
} -->
2024-09-14 19:43:14 -05:00
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={moreTool} />
2024-10-07 17:48:10 -05:00
<Box flexGrow="1" />
2024-09-14 19:43:14 -05:00
</Flex>
2024-09-14 13:24:24 -05:00
2024-09-14 19:43:14 -05:00
<!-- {!exempt && <AdMidSectionResponsive />} -->
2024-09-14 13:24:24 -05:00
2024-09-14 19:43:14 -05:00
<Heading mt="6">Other cool projects</Heading>
2024-09-14 13:24:24 -05:00
2024-09-14 19:43:14 -05:00
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard
tool={{
button: {
text: 'Analyze',
color: 'blue',
},
description: 'Rich historic average stats',
id: 'blitz-analysis',
image: 'j76YXGl',
title: 'BlitzAnalysis[]',
href: 'https://blitzanalysiz.com/',
}}
/>
<ToolCard
tool={{
button: {
color: 'purple',
text: 'Install',
highContrast: true,
},
image: 'zYrrYbR',
description: 'In-game session stats',
id: 'blitz-insider',
title: 'Blitz Insider',
href: 'https://discord.gg/UjWf9eGgtR',
}}
/>
2024-09-14 13:24:24 -05:00
</Flex>
</Flex>
2024-09-14 19:43:14 -05:00
</Flex>
2024-09-14 13:24:24 -05:00
2024-09-14 19:43:14 -05:00
<div style={{ flex: 1 }}></div>
</RootLayout>