'use client' import { motion } from 'framer-motion' import { Hammer, TreePine, ShieldCheck } from 'lucide-react' import { HeroSection } from '@/components/HeroSection' import { ProjectCard } from '@/components/ProjectCard' import { projects } from '@/lib/projects' const features = [ { icon: Hammer, title: 'Schnitzen', description: 'Lerne mit Schnitzmesser und Holz umzugehen und forme eigene Figuren.', color: 'bg-primary/10 text-primary', }, { icon: TreePine, title: 'Bauen', description: 'Saege, leime und nagle — baue nuetzliche Dinge aus Holz!', color: 'bg-secondary/10 text-secondary', }, { icon: ShieldCheck, title: 'Sicherheit', description: 'Jedes Projekt zeigt dir, wie du sicher mit Werkzeug arbeitest.', color: 'bg-accent/10 text-accent', }, ] export default function HomePage() { const featured = projects.slice(0, 4) return ( <> {/* Features */} {features.map((f, i) => ( {f.title} {f.description} ))} {/* Popular Projects */} Beliebte Projekte {featured.map((p) => ( ))} > ) }
{f.description}