feat: Add LEVIS Holzbau — Kinder-Holzwerk-Website (Port 3013)
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 39s
CI / test-python-voice (push) Successful in 37s
CI / test-bqas (push) Successful in 37s
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 39s
CI / test-python-voice (push) Successful in 37s
CI / test-bqas (push) Successful in 37s
Neue statische Website fuer Kinder (6-12 Jahre) mit 8 Holzprojekten, SVG-Illustrationen, Sicherheitshinweisen und kindgerechtem Design. Next.js 15 + Tailwind + Framer Motion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
levis-holzbau/components/ToolIcon.tsx
Normal file
14
levis-holzbau/components/ToolIcon.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Hammer, Scissors, Ruler, Paintbrush, Wrench } from 'lucide-react'
|
||||
|
||||
const iconMap: Record<string, React.ElementType> = {
|
||||
hammer: Hammer,
|
||||
schnitzmesser: Scissors,
|
||||
lineal: Ruler,
|
||||
pinsel: Paintbrush,
|
||||
}
|
||||
|
||||
export function ToolIcon({ name }: { name: string }) {
|
||||
const key = name.toLowerCase()
|
||||
const Icon = Object.entries(iconMap).find(([k]) => key.includes(k))?.[1] || Wrench
|
||||
return <Icon className="w-5 h-5 text-primary" />
|
||||
}
|
||||
Reference in New Issue
Block a user