import { ArrowUpRight, CalendarDays, FolderKanban } from "lucide-react"; import Link from "next/link"; import { MotionFade } from "@/components/motion-fade"; import { pickText, portfolioItems, resolveLocale } from "@/lib/site-data"; type PortfolioPageProps = { params: { locale: string; }; }; export default function PortfolioPage({ params: { locale } }: PortfolioPageProps) { const localeKey = resolveLocale(locale); const copy = localeKey === "de" ? { title: "Portfolio", intro: "Eine Auswahl von Projekten mit Fokus auf Klarheit und Ergebnis.", open: "Projekt oeffnen", } : { title: "Portfolio", intro: "Selected projects with a focus on clarity and outcomes.", open: "Open project", }; return (
{copy.intro}
{pickText(item.category, localeKey)}
{pickText(item.summary, localeKey)}
{copy.open}