SPB Git

spb/spboucher.ai Public

spboucher.ai — personal website of Simon-Pierre Boucher.

TypeScript 93.4% HTML 5.5% CSS 1%
2.0 KB · 160 lines typescript
Raw Blame History
1/*2  detail-icons.ts3  spboucher.ai Web4  Author: Simon-Pierre Boucher5  Mail: contact@spboucher.ai6*/78import {9  ArrowLeftRight,10  Award,11  BarChart3,12  Bell,13  Blocks,14  BookOpen,15  Bot,16  Boxes,17  Braces,18  Brain,19  Building2,20  Calculator,21  CheckCircle2,22  CircuitBoard,23  Clock,24  Cloud,25  Coins,26  Command,27  Cpu,28  Database,29  DollarSign,30  Download,31  Eye,32  FileText,33  Filter,34  Fingerprint,35  Flame,36  FlaskConical,37  FolderTree,38  Gauge,39  GitBranch,40  Globe,41  GraduationCap,42  HardDrive,43  Home,44  KeyRound,45  Landmark,46  Languages,47  Layers,48  Lightbulb,49  LineChart,50  ListChecks,51  Lock,52  type LucideIcon,53  Map,54  MapPin,55  MessageSquare,56  Microscope,57  Network,58  Package,59  Palette,60  PenTool,61  RefreshCw,62  Rocket,63  Scale,64  Search,65  Server,66  Settings2,67  ShieldCheck,68  Sparkles,69  Split,70  Table2,71  Terminal,72  Timer,73  TrendingUp,74  Users,75  Wallet,76  WifiOff,77  Workflow,78  Wrench,79  Zap,80} from "lucide-react";8182/** Icons that project-detail feature entries may reference by name. */83const detailIcons: Record<string, LucideIcon> = {84  ArrowLeftRight,85  Award,86  BarChart3,87  Bell,88  Blocks,89  BookOpen,90  Bot,91  Boxes,92  Braces,93  Brain,94  Building2,95  Calculator,96  CheckCircle2,97  CircuitBoard,98  Clock,99  Cloud,100  Coins,101  Command,102  Cpu,103  Database,104  DollarSign,105  Download,106  Eye,107  FileText,108  Filter,109  Fingerprint,110  Flame,111  FlaskConical,112  FolderTree,113  Gauge,114  GitBranch,115  Globe,116  GraduationCap,117  HardDrive,118  Home,119  KeyRound,120  Landmark,121  Languages,122  Layers,123  Lightbulb,124  LineChart,125  ListChecks,126  Lock,127  Map,128  MapPin,129  MessageSquare,130  Microscope,131  Network,132  Package,133  Palette,134  PenTool,135  RefreshCw,136  Rocket,137  Scale,138  Search,139  Server,140  Settings2,141  ShieldCheck,142  Sparkles,143  Split,144  Table2,145  Terminal,146  Timer,147  TrendingUp,148  Users,149  Wallet,150  WifiOff,151  Workflow,152  Wrench,153  Zap,154};155156/** Resolve a detail icon by name, falling back to Sparkles. */157export function getDetailIcon(name: string): LucideIcon {158  return detailIcons[name] ?? Sparkles;159}160