move static data
This commit is contained in:
46
adapters/bootstrap/RaceStatusConfig.ts
Normal file
46
adapters/bootstrap/RaceStatusConfig.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* Race Status Configuration
|
||||
*
|
||||
* UI display configuration for race status states
|
||||
*/
|
||||
|
||||
import { Clock, PlayCircle, CheckCircle2, XCircle } from 'lucide-react';
|
||||
|
||||
export interface RaceStatusConfigData {
|
||||
icon: any;
|
||||
color: string;
|
||||
bg: string;
|
||||
border: string;
|
||||
label: string;
|
||||
}
|
||||
|
||||
export const raceStatusConfig: Record<string, RaceStatusConfigData> = {
|
||||
scheduled: {
|
||||
icon: Clock,
|
||||
color: 'text-primary-blue',
|
||||
bg: 'bg-primary-blue/10',
|
||||
border: 'border-primary-blue/30',
|
||||
label: 'Scheduled',
|
||||
},
|
||||
running: {
|
||||
icon: PlayCircle,
|
||||
color: 'text-performance-green',
|
||||
bg: 'bg-performance-green/10',
|
||||
border: 'border-performance-green/30',
|
||||
label: 'LIVE',
|
||||
},
|
||||
completed: {
|
||||
icon: CheckCircle2,
|
||||
color: 'text-gray-400',
|
||||
bg: 'bg-gray-500/10',
|
||||
border: 'border-gray-500/30',
|
||||
label: 'Completed',
|
||||
},
|
||||
cancelled: {
|
||||
icon: XCircle,
|
||||
color: 'text-warning-amber',
|
||||
bg: 'bg-warning-amber/10',
|
||||
border: 'border-warning-amber/30',
|
||||
label: 'Cancelled',
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user