feat: start of charts

This commit is contained in:
tresabhi committed 2024-12-22 20:34:16 -06:00
1 parent c20caf45a2
commit 117f9892d6
2 files changed
+25 -5

No files matched your search

+14
View File
@@ -176,6 +176,20 @@ export const tierListTool: Tool = {
branches: ['main', 'dev', 'opentest', 'preview'],
};
export const chartsTool: Tool = {
id: 'charts',
title: 'Charts',
description: 'Lots of Blitz charts',
pageDescription:
'Charts and graphs on anything and everything about tanks, players, and events in World of Tanks Blitz',
button: {
text: 'Nerd out',
color: 'yellow',
},
image: '9s68NwR',
branches: ['main', 'dev', 'opentest', 'preview'],
};
export const TOOLS: Tool[] = [
tankopediaTool,
compareTool,
+11 -5
View File
@@ -1,12 +1,13 @@
---
import { assertSecret } from '@blitzkit/core';
import { Flex, Heading } from '@radix-ui/themes';
import { Box, Flex, Heading } from '@radix-ui/themes';
import { AesonPlug } from '../components/AesonPlug';
import HomeHero from '../components/HomeHero.astro';
import { HomePageHotTanks } from '../components/HomePageHotTanks';
import { Plugs } from '../components/Plugs.tsx';
import ToolCard from '../components/ToolCard.astro';
import {
chartsTool,
compareTool,
discordTool,
embedTool,
@@ -48,18 +49,23 @@ const branch = assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH);
</Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={chartsTool} />
<ToolCard tool={galleryTool} />
</Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={sessionTool} />
</Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={discordTool} />
<ToolCard tool={tierListTool} />
</Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={tierListTool} />
<ToolCard tool={embedTool} />
</Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={moreTool} />
<Box flexGrow="1" />
</Flex>
<Heading align="center" mt="6">Other cool projects</Heading>