import { ArrowRight, BriefcaseBusiness, Boxes, Mail, Sparkles, } from "lucide-react"; import Link from "next/link"; import { MotionFade } from "@/components/motion-fade"; import { pickText, portfolioItems, productItems, resolveLocale } from "@/lib/site-data"; type HomePageProps = { params: { locale: string; }; }; export default function HomePage({ params: { locale } }: HomePageProps) { const localeKey = resolveLocale(locale); const featuredProjects = portfolioItems.slice(0, 3); const featuredProducts = productItems.slice(0, 3); const copy = localeKey === "de" ? { heroKicker: "Digital Studio", heroTitle: "Webseiten und Produkte, die schnell liefern.", heroText: "Diese Startseite ist die Basis fuer ein mehrsprachiges Marketing- und Produkt-Setup.", portfolioTitle: "Featured Projects", portfolioText: "Platzhalter fuer ausgewaehlte Kundenprojekte.", productsTitle: "Featured Products", productsText: "Platzhalter fuer die wichtigsten Produktangebote.", ctaTitle: "Bereit fuer den naechsten Schritt?", ctaText: "Wir planen zusammen den passenden Scope fuer dein Projekt.", toPortfolio: "Portfolio ansehen", toProducts: "Produkte ansehen", toContact: "Kontakt aufnehmen", heroCardTitle: "Schneller Rollout", heroCardText: "Struktur, Content und Komponenten fuer schnelles Wachstum.", } : { heroKicker: "Digital Studio", heroTitle: "Websites and products that ship fast.", heroText: "This homepage is a starter for a multilingual marketing and product setup.", portfolioTitle: "Featured Projects", portfolioText: "Placeholder area for highlighted client projects.", productsTitle: "Featured Products", productsText: "Placeholder area for top product offerings.", ctaTitle: "Ready for your next step?", ctaText: "We can shape the right project scope together.", toPortfolio: "View portfolio", toProducts: "View products", toContact: "Contact us", heroCardTitle: "Fast rollout", heroCardText: "Structure, content and components for rapid growth.", }; return (
{copy.heroText}
{copy.heroCardText}
{copy.portfolioText}
{pickText(item.category, localeKey)} - {item.year}
{pickText(item.summary, localeKey)}
{copy.toPortfolio}{copy.productsText}
{pickText(item.segment, localeKey)}
{pickText(item.summary, localeKey)}
{pickText(item.price, localeKey)}
))}
{copy.ctaText}