Files
blitzkit/src/constants/tools.tsx
T

150 lines
3.2 KiB
TypeScript
Raw Normal View History

2024-06-03 17:45:50 -05:00
import { Button } from '@radix-ui/themes';
import { ComponentProps } from 'react';
2024-06-15 13:51:42 -05:00
export interface Tool {
2023-10-01 11:35:44 -05:00
id: string;
2024-05-27 22:42:09 -05:00
image: string;
2023-10-01 11:35:44 -05:00
title: string;
description: string;
disabled?: boolean;
2024-02-20 22:36:18 -06:00
href?: string;
2024-04-03 19:27:24 -05:00
pageDescription?: string;
2024-06-03 17:45:50 -05:00
button: {
text: string;
color: ComponentProps<typeof Button>['color'];
};
significant?: boolean;
2023-10-01 11:35:44 -05:00
}
2024-06-15 13:51:42 -05:00
export const tankopediaTool: Tool = {
id: 'tankopedia',
title: 'Tankopedia',
description: 'Blitz tank encyclopedia',
pageDescription:
'Statistics, armor, and more for all tanks in World of Tanks Blitz',
image: 'D8j6GZx',
button: {
text: 'Find your tank',
color: 'purple',
},
significant: true,
};
export const ratingTool: Tool = {
id: 'rating',
title: 'Rating',
description: 'Full rating leaderboard',
pageDescription:
'Live and archived full rating leaderboard for World of Tanks Blitz',
image: 'WEyMZH3',
button: {
text: 'View leaderboard',
color: 'orange',
},
};
export const compareTool: Tool = {
id: 'compare',
title: 'Compare',
description: 'Compare tank statistics',
pageDescription:
'Compare tanks statistics and loadouts in World of Tanks Blitz',
image: 'O6VNl6e',
button: {
text: 'Compare tanks',
color: 'crimson',
},
};
export const sessionTool: Tool = {
// TODO: rename to tracker
id: 'session',
title: 'Session',
description: 'Live session stats',
pageDescription:
'Track your stats in real time as you play World of Tanks Blitz',
image: 'HdG9sTf',
button: {
text: 'Start tracking',
color: 'blue',
},
};
export const discordTool: Tool = {
id: 'discord',
title: 'Discord bot',
description: 'Stats right in Discord',
href: 'https://discord.com/application-directory/1097673957865443370',
image: '0bWE5hC',
button: {
text: 'Install now',
color: 'indigo',
},
};
export const moreTool: Tool = {
id: 'more',
title: 'More coming soon',
description: "What we're making",
href: 'https://discord.gg/nDt7AjGJQH',
image: '1nPm6VI',
button: {
text: 'Join Discord',
2024-08-19 13:40:17 -05:00
color: 'plum',
2024-06-15 13:51:42 -05:00
},
};
2024-06-16 17:47:02 -05:00
export const playerStatsTool: Tool = {
id: 'player-stats',
title: 'Player stats',
description: 'Periodical player statistics',
pageDescription: 'Periodical player statistics in World of Tanks Blitz',
button: {
text: 'Lookup player',
color: 'blue',
},
image: 'YelSOfT',
2024-07-02 18:58:11 -05:00
href: '_', // TODO: remove this to re-enable link
2024-06-16 17:47:02 -05:00
};
2024-06-29 21:22:12 -05:00
export const tankPerformanceTool: Tool = {
2024-08-05 12:52:40 -05:00
id: 'performance',
title: 'Performance',
2024-06-29 21:22:12 -05:00
description: 'Tank performance statistics',
2024-07-07 21:06:02 -05:00
pageDescription: 'Best tanks and their performances in World of Tanks Blitz',
2024-06-29 21:22:12 -05:00
button: {
text: 'View tanks',
color: 'jade',
},
image: 'vOKFB03',
};
2024-08-26 22:02:29 -05:00
export const embedTool: Tool = {
id: 'embed',
title: 'Embed',
description: 'Embeds for streaming',
pageDescription:
'Create embeds for streaming World of Tanks Blitz with extreme customization',
button: {
text: 'Create',
color: 'red',
},
image: 'Q0faRYg',
};
2024-08-17 20:09:52 -05:00
export const homeTool: Tool = {
id: '',
title: 'Home',
button: { color: 'blue', text: '' },
description: '',
image: 'rUPie9G',
2024-08-05 12:52:40 -05:00
};
2023-10-01 11:35:44 -05:00
export const TOOLS: Tool[] = [
2024-06-15 13:51:42 -05:00
tankopediaTool,
compareTool,
2024-07-02 18:28:04 -05:00
tankPerformanceTool,
2024-06-15 13:51:42 -05:00
sessionTool,
2024-08-05 12:52:40 -05:00
embedTool,
2024-07-02 18:28:04 -05:00
ratingTool,
2023-09-24 17:24:21 -05:00
];