move static data

This commit is contained in:
2025-12-26 00:20:53 +01:00
parent c977defd6a
commit b6cbb81388
63 changed files with 1482 additions and 418 deletions

View File

@@ -0,0 +1,31 @@
/**
* Season Status Configuration
*
* UI display configuration for season states
*/
export type SeasonStatus = 'active' | 'upcoming' | 'completed';
export interface SeasonStatusConfigData {
color: string;
bg: string;
label: string;
}
export const seasonStatusConfig: Record<SeasonStatus, SeasonStatusConfigData> = {
active: {
color: 'text-performance-green',
bg: 'bg-performance-green/10',
label: 'Active Season',
},
upcoming: {
color: 'text-warning-amber',
bg: 'bg-warning-amber/10',
label: 'Starting Soon',
},
completed: {
color: 'text-gray-400',
bg: 'bg-gray-400/10',
label: 'Season Ended',
},
} as const;