import {
  Code,
  Zap,
  Layout,
  Database,
  GitBranch,
  Wind,
  Package,
  PenTool,
  Layers,
  Terminal,
  Box,
  FileText,
  Gamepad2,
  ShieldCheck,
  Smartphone,
  Cpu,
} from 'lucide-react';
import type { Skill } from '../../../shared/types';

export const iconMap = {
  'React.js': Code,
  'Vue.js': Code,
  'JavaScript': Zap,
  'TypeScript': Code,
  'Tailwind CSS': Wind,
  'CSS': Layout,
  '.NET': ShieldCheck,
  'Node.js': Database,
  'Express.js': Zap,
  'Fastify': Box,
  'NestJS': Layers,
  'SQL / SQS': Database,
  'Git & GitHub': GitBranch,
  'Docker': Box,
  'Linux': Terminal,
  'Clean Architecture': Layers,
  'Vertical Slice Architecture': Layers,
  'Design Patterns': Cpu,
  'Figma': PenTool,
  'Unity': Gamepad2,
  'Blender': Package,
  'Godot': Gamepad2,
  'LaTeX': FileText,
};

export const skillsData: Array<Omit<Skill, 'icon'> & { iconName: keyof typeof iconMap }> = [
  {
    name: 'React.js',
    iconName: 'React.js',
    level: 'Expert',
    years: 4,
    category: 'Frontend',
  },
  {
    name: 'Vue.js',
    iconName: 'Vue.js',
    level: 'Advanced',
    years: 0.5,
    category: 'Frontend',
  },
  {
    name: 'TypeScript',
    iconName: 'TypeScript',
    level: 'Expert',
    years: 4,
    category: 'Frontend',
  },
  {
    name: 'Tailwind CSS',
    iconName: 'Tailwind CSS',
    level: 'Expert',
    years: 4,
    category: 'Frontend',
  },
  {
    name: '.NET',
    iconName: '.NET',
    level: 'Advanced',
    years: 3,
    category: 'Backend',
  },
  {
    name: 'Express.js',
    iconName: 'Express.js',
    level: 'Advanced',
    years: 3,
    category: 'Backend',
  },
  {
    name: 'Fastify',
    iconName: 'Fastify',
    level: 'Advanced',
    years: 2,
    category: 'Backend',
  },
  {
    name: 'NestJS',
    iconName: 'NestJS',
    level: 'Advanced',
    years: 2,
    category: 'Backend',
  },
  {
    name: 'SQL / SQS',
    iconName: 'SQL / SQS',
    level: 'Advanced',
    years: 3,
    category: 'Backend',
  },
  {
    name: 'Clean Architecture',
    iconName: 'Clean Architecture',
    level: 'Advanced',
    years: 3,
    category: 'Architektur',
  },
  {
    name: 'Vertical Slice Architecture',
    iconName: 'Vertical Slice Architecture',
    level: 'Advanced',
    years: 3,
    category: 'Architektur',
  },
  {
    name: 'Design Patterns',
    iconName: 'Design Patterns',
    level: 'Advanced',
    years: 4,
    category: 'Architektur',
  },
  {
    name: 'Docker',
    iconName: 'Docker',
    level: 'Advanced',
    years: 4,
    category: 'Tools',
  },
  {
    name: 'Git & GitHub',
    iconName: 'Git & GitHub',
    level: 'Expert',
    years: 5,
    category: 'Tools',
  },
  {
    name: 'Linux',
    iconName: 'Linux',
    level: 'Advanced',
    years: 4,
    category: 'Tools',
  },
  {
    name: 'Figma',
    iconName: 'Figma',
    level: 'Advanced',
    years: 3,
    category: 'Design',
  },
  {
    name: 'Unity',
    iconName: 'Unity',
    level: 'Intermediate',
    years: 2,
    category: 'Kreativ',
  },
  {
    name: 'Blender',
    iconName: 'Blender',
    level: 'Intermediate',
    years: 2,
    category: 'Kreativ',
  },
  {
    name: 'Godot',
    iconName: 'Godot',
    level: 'Intermediate',
    years: 2,
    category: 'Kreativ',
  },
  {
    name: 'LaTeX',
    iconName: 'LaTeX',
    level: 'Intermediate',
    years: 3,
    category: 'Kreativ',
  },
];
