2025-09-13 22:53:29 -05:00
|
|
|
import type { ButtonProps } from "@radix-ui/themes";
|
2024-06-03 17:45:50 -05:00
|
|
|
|
2024-06-15 13:51:42 -05:00
|
|
|
export interface Tool {
|
2023-10-01 11:35:44 -05:00
|
|
|
id: string;
|
2025-09-13 21:54:43 -05:00
|
|
|
strings?: string;
|
2025-09-13 22:53:29 -05:00
|
|
|
|
|
|
|
|
button: ButtonProps["color"];
|
|
|
|
|
significant?: boolean;
|
2023-10-01 11:35:44 -05:00
|
|
|
disabled?: boolean;
|
2024-02-20 22:36:18 -06:00
|
|
|
href?: string;
|
2023-10-01 11:35:44 -05:00
|
|
|
}
|
|
|
|
|
|
2025-09-13 23:42:26 -05:00
|
|
|
export const tools: Record<string, Tool> = {
|
2025-09-13 22:53:29 -05:00
|
|
|
tanks: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "tanks",
|
|
|
|
|
strings: "tankopedia",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "purple",
|
2025-09-13 21:54:43 -05:00
|
|
|
significant: true,
|
|
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
players: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "players",
|
|
|
|
|
disabled: true,
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "blue",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
compare: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "compare",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "crimson",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
performance: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "performance",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "jade",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
charts: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "charts",
|
|
|
|
|
disabled: true,
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "bronze",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-10-12 18:51:28 -05:00
|
|
|
playlist: {
|
|
|
|
|
id: "playlist",
|
|
|
|
|
button: "tomato",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
mixer: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "mixer",
|
2025-09-13 23:42:26 -05:00
|
|
|
button: "gray",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-10-12 18:51:28 -05:00
|
|
|
guess: {
|
|
|
|
|
id: "guess",
|
|
|
|
|
button: "cyan",
|
|
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
gallery: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "gallery",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "gold",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
session: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "session",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "blue",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
tier_list: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "tier-list",
|
|
|
|
|
strings: "tier_list",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "orange",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
embed: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "embed",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "red",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 23:07:58 -05:00
|
|
|
api: {
|
|
|
|
|
id: "api",
|
|
|
|
|
disabled: true,
|
|
|
|
|
button: "bronze",
|
|
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
more: {
|
2025-09-13 21:54:43 -05:00
|
|
|
id: "more",
|
|
|
|
|
href: "https://discord.gg/nDt7AjGJQH",
|
2025-09-13 22:53:29 -05:00
|
|
|
button: "plum",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 23:42:26 -05:00
|
|
|
};
|