Files
peakskills/lib/category-icons.ts
Julien Froidefond 5c510ebd07 Add skill removal functionality and enhance UI components
- Integrated onRemoveSkill functionality in SkillEvaluation, SkillSelector, and SkillEvaluationCard components for better skill management.
- Updated UI to improve user experience when removing skills, including tooltip descriptions and styling adjustments.
- Added new skills to backend, devops, frontend, and mobile JSON files for comprehensive skill coverage.
2025-08-20 16:06:09 +02:00

27 lines
502 B
TypeScript

import {
Monitor,
Server,
Settings,
Smartphone,
Database,
Cloud,
Shield,
Palette,
LucideIcon
} from "lucide-react";
const CATEGORY_ICON_MAP: Record<string, LucideIcon> = {
monitor: Monitor,
server: Server,
settings: Settings,
smartphone: Smartphone,
database: Database,
cloud: Cloud,
shield: Shield,
palette: Palette,
};
export function getCategoryIcon(iconName: string): LucideIcon {
return CATEGORY_ICON_MAP[iconName] || Settings; // Settings as fallback
}