31 lines
566 B
TypeScript
31 lines
566 B
TypeScript
/**
|
|
* 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; |