import {
  Wrench,
  Droplets,
  Flame,
  Zap,
  Wind,
  Hammer,
  Sparkles,
  Bug,
  Shield,
  Clock,
  DollarSign,
  Award,
  Phone,
  CheckCircle,
  Star,
  type LucideIcon,
} from "lucide-react";

const iconMap: Record<string, LucideIcon> = {
  wrench: Wrench,
  droplets: Droplets,
  flame: Flame,
  zap: Zap,
  wind: Wind,
  hammer: Hammer,
  sparkles: Sparkles,
  bug: Bug,
  shield: Shield,
  clock: Clock,
  dollar: DollarSign,
  award: Award,
  phone: Phone,
  check: CheckCircle,
  star: Star,
};

export function getIcon(name: string): LucideIcon {
  return iconMap[name] || Wrench;
}

export const availableIcons = Object.keys(iconMap);
