2024-06-15 13:51:42 -05:00
|
|
|
export interface Tool {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: string;
|
|
|
|
|
|
2026-11-17 23:48:31 -06:00
|
|
|
slug?: string;
|
2024-02-20 22:36:18 -06:00
|
|
|
href?: string;
|
2026-08-18 13:57:01 -05:00
|
|
|
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled?: boolean;
|
|
|
|
|
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "top" | "center" | "bottom";
|
2026-11-17 23:48:31 -06:00
|
|
|
navbar?: boolean;
|
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: {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "tanks",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "top",
|
2026-08-18 12:23:48 -05:00
|
|
|
},
|
|
|
|
|
players: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "players",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "top",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
compare: {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "compare",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
performance: {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "performance",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-10-12 18:51:28 -05:00
|
|
|
playlist: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "playlist",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
mixer: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "mixer",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2026-08-18 12:23:48 -05:00
|
|
|
guesser: {
|
|
|
|
|
id: "guesser",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-10-12 18:51:28 -05:00
|
|
|
},
|
2026-08-18 12:23:48 -05:00
|
|
|
avatars: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "avatars",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2026-08-18 12:23:48 -05:00
|
|
|
},
|
|
|
|
|
backgrounds: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "backgrounds",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
session: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "session",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
tier_list: {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "tier_list",
|
2026-11-17 23:48:31 -06:00
|
|
|
slug: "tier-list",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
embed: {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "embed",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2025-09-13 22:53:29 -05:00
|
|
|
more: {
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "more",
|
2025-09-13 21:54:43 -05:00
|
|
|
href: "https://discord.gg/nDt7AjGJQH",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2026-08-18 12:23:48 -05:00
|
|
|
},
|
|
|
|
|
api: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "api",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
2026-08-18 12:23:48 -05:00
|
|
|
},
|
|
|
|
|
changelogs: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-08-18 12:23:48 -05:00
|
|
|
id: "changelogs",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "bottom",
|
|
|
|
|
},
|
|
|
|
|
settings: {
|
2026-11-15 21:48:11 -06:00
|
|
|
id: "settings",
|
2026-08-18 13:57:01 -05:00
|
|
|
banner_background_position: "center",
|
2026-11-17 23:48:31 -06:00
|
|
|
navbar: false,
|
2025-09-13 21:54:43 -05:00
|
|
|
},
|
2026-10-22 16:49:03 -05:00
|
|
|
credits: {
|
2026-11-15 21:48:11 -06:00
|
|
|
disabled: true,
|
2026-10-22 16:49:03 -05:00
|
|
|
id: "credits",
|
2026-11-15 21:48:11 -06:00
|
|
|
banner_background_position: "center",
|
2026-11-17 23:48:31 -06:00
|
|
|
navbar: false,
|
2026-10-22 16:49:03 -05:00
|
|
|
},
|
2025-09-13 23:42:26 -05:00
|
|
|
};
|
2026-11-18 23:38:52 -06:00
|
|
|
|
|
|
|
|
export enum ToolBannerSize {
|
|
|
|
|
Thumbnail = "thumbnail",
|
2026-11-19 10:44:09 -06:00
|
|
|
Poster = "poster",
|
2026-11-18 23:38:52 -06:00
|
|
|
Full = "full",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const TOOL_BANNER_HEIGHTS: Record<ToolBannerSize, number | null> = {
|
|
|
|
|
[ToolBannerSize.Thumbnail]: 128,
|
2026-11-19 10:44:09 -06:00
|
|
|
[ToolBannerSize.Poster]: 480 * 1.5,
|
2026-11-18 23:38:52 -06:00
|
|
|
[ToolBannerSize.Full]: null,
|
|
|
|
|
};
|