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,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;