feat: remove rating

This commit is contained in:
TrèsAbhi committed 2024-10-07 17:48:10 -05:00
1 parent e234b29e16
commit 746dd998aa
3 files changed
+18 -1168

No files matched your search

File diff suppressed because it is too large. Load diff
+14 -14
View File
@@ -33,19 +33,19 @@ export const tankopediaTool: Tool = {
branches: ['main', 'dev', 'opentest'], branches: ['main', 'dev', 'opentest'],
}; };
export const ratingTool: Tool = { // export const ratingTool: Tool = {
id: 'rating', // id: 'rating',
title: 'Rating', // title: 'Rating',
description: 'Full rating leaderboard', // description: 'Full rating leaderboard',
pageDescription: // pageDescription:
'Live and archived full rating leaderboard for World of Tanks Blitz', // 'Live and archived full rating leaderboard for World of Tanks Blitz',
image: 'WEyMZH3', // image: 'WEyMZH3',
button: { // button: {
text: 'View leaderboard', // text: 'View leaderboard',
color: 'orange', // color: 'orange',
}, // },
branches: ['main', 'dev'], // branches: ['main', 'dev'],
}; // };
export const compareTool: Tool = { export const compareTool: Tool = {
id: 'compare', id: 'compare',
@@ -156,5 +156,5 @@ export const TOOLS: Tool[] = [
tankPerformanceTool, tankPerformanceTool,
sessionTool, sessionTool,
embedTool, embedTool,
ratingTool, // ratingTool,
]; ];
+4 -4
View File
@@ -1,5 +1,5 @@
--- ---
import { Flex, Heading } from '@radix-ui/themes'; import { Box, Flex, Heading } from '@radix-ui/themes';
import HomeHero from '../components/HomeHero.astro'; import HomeHero from '../components/HomeHero.astro';
import { Plugs } from '../components/Plugs.tsx'; import { Plugs } from '../components/Plugs.tsx';
import ToolCard from '../components/ToolCard.astro'; import ToolCard from '../components/ToolCard.astro';
@@ -7,7 +7,6 @@ import {
compareTool, compareTool,
discordTool, discordTool,
moreTool, moreTool,
ratingTool,
sessionTool, sessionTool,
tankopediaTool, tankopediaTool,
tankPerformanceTool, tankPerformanceTool,
@@ -41,7 +40,8 @@ import RootLayout from '../layouts/RootLayout.astro';
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}> <Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={sessionTool} /> <ToolCard tool={sessionTool} />
{/* <ToolCard tool={embedTool} /> */} {/* <ToolCard tool={embedTool} /> */}
<ToolCard tool={ratingTool} /> <!-- <ToolCard tool={ratingTool} /> -->
<ToolCard tool={discordTool} />
</Flex> </Flex>
<!-- { <!-- {
@@ -59,8 +59,8 @@ import RootLayout from '../layouts/RootLayout.astro';
} --> } -->
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}> <Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={discordTool} />
<ToolCard tool={moreTool} /> <ToolCard tool={moreTool} />
<Box flexGrow="1" />
</Flex> </Flex>
<!-- {!exempt && <AdMidSectionResponsive />} --> <!-- {!exempt && <AdMidSectionResponsive />} -->