move static data
This commit is contained in:
31
adapters/bootstrap/SkillLevelConfig.ts
Normal file
31
adapters/bootstrap/SkillLevelConfig.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Skill Level Configuration
|
||||
*
|
||||
* UI display configuration for driver skill levels
|
||||
*/
|
||||
|
||||
export type SkillLevel = 'beginner' | 'intermediate' | 'advanced' | 'expert';
|
||||
|
||||
export interface SkillLevelConfigData {
|
||||
color: string;
|
||||
icon: string;
|
||||
}
|
||||
|
||||
export const skillLevelConfig: Record<SkillLevel, SkillLevelConfigData> = {
|
||||
beginner: {
|
||||
color: 'green',
|
||||
icon: '🥉',
|
||||
},
|
||||
intermediate: {
|
||||
color: 'yellow',
|
||||
icon: '🥈',
|
||||
},
|
||||
advanced: {
|
||||
color: 'orange',
|
||||
icon: '🥇',
|
||||
},
|
||||
expert: {
|
||||
color: 'red',
|
||||
icon: '👑',
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user