view data fixes
This commit is contained in:
11
apps/website/lib/display-objects/SkillLevelIconDisplay.ts
Normal file
11
apps/website/lib/display-objects/SkillLevelIconDisplay.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export class SkillLevelIconDisplay {
|
||||
static getIcon(skillLevel: string): string {
|
||||
const icons: Record<string, string> = {
|
||||
beginner: '🥉',
|
||||
intermediate: '🥈',
|
||||
advanced: '🥇',
|
||||
expert: '👑',
|
||||
};
|
||||
return icons[skillLevel] || '🏁';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user