mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: start of charts
This commit is contained in:
1 parent
c20caf45a2
commit
117f9892d6
2 files changed
+25
-5
No files matched your search
@@ -176,6 +176,20 @@ export const tierListTool: Tool = {
|
|||||||
branches: ['main', 'dev', 'opentest', 'preview'],
|
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[] = [
|
export const TOOLS: Tool[] = [
|
||||||
tankopediaTool,
|
tankopediaTool,
|
||||||
compareTool,
|
compareTool,
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
---
|
---
|
||||||
import { assertSecret } from '@blitzkit/core';
|
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 { AesonPlug } from '../components/AesonPlug';
|
||||||
import HomeHero from '../components/HomeHero.astro';
|
import HomeHero from '../components/HomeHero.astro';
|
||||||
import { HomePageHotTanks } from '../components/HomePageHotTanks';
|
import { HomePageHotTanks } from '../components/HomePageHotTanks';
|
||||||
import { Plugs } from '../components/Plugs.tsx';
|
import { Plugs } from '../components/Plugs.tsx';
|
||||||
import ToolCard from '../components/ToolCard.astro';
|
import ToolCard from '../components/ToolCard.astro';
|
||||||
import {
|
import {
|
||||||
|
chartsTool,
|
||||||
compareTool,
|
compareTool,
|
||||||
discordTool,
|
discordTool,
|
||||||
embedTool,
|
embedTool,
|
||||||
@@ -48,18 +49,23 @@ const branch = assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH);
|
|||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
||||||
|
<ToolCard tool={chartsTool} />
|
||||||
<ToolCard tool={galleryTool} />
|
<ToolCard tool={galleryTool} />
|
||||||
|
</Flex>
|
||||||
|
|
||||||
|
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
||||||
<ToolCard tool={sessionTool} />
|
<ToolCard tool={sessionTool} />
|
||||||
</Flex>
|
|
||||||
|
|
||||||
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
|
||||||
<ToolCard tool={discordTool} />
|
<ToolCard tool={discordTool} />
|
||||||
<ToolCard tool={tierListTool} />
|
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
||||||
|
<ToolCard tool={tierListTool} />
|
||||||
<ToolCard tool={embedTool} />
|
<ToolCard tool={embedTool} />
|
||||||
|
</Flex>
|
||||||
|
|
||||||
|
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
|
||||||
<ToolCard tool={moreTool} />
|
<ToolCard tool={moreTool} />
|
||||||
|
<Box flexGrow="1" />
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Heading align="center" mt="6">Other cool projects</Heading>
|
<Heading align="center" mt="6">Other cool projects</Heading>
|
||||||
|
|||||||
Reference in new issue
Block a user