- 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.
27 lines
502 B
TypeScript
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
|
|
}
|