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