Files
gridpilot.gg/adapters/bootstrap/SkillLevelConfig.ts
2025-12-26 00:20:53 +01:00

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;