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,29 @@
/**
* Activity Configuration
*
* UI display configuration for activity feed items
*/
export type ActivityType = 'race' | 'league' | 'team' | 'driver' | 'platform';
export interface ActivityConfigData {
color: string;
}
export const activityConfig: Record<ActivityType, ActivityConfigData> = {
race: {
color: 'bg-warning-amber',
},
league: {
color: 'bg-primary-blue',
},
team: {
color: 'bg-purple-400',
},
driver: {
color: 'bg-performance-green',
},
platform: {
color: 'bg-racing-red',
},
} as const;