move static data
This commit is contained in:
31
adapters/bootstrap/SeasonStatusConfig.ts
Normal file
31
adapters/bootstrap/SeasonStatusConfig.ts
Normal 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;
|
||||
Reference in New Issue
Block a user