import { getDictionary, type Locale } from "@/lib/dictionaries"; import ProjectsShowcase from "@/components/sections/ProjectsShowcase"; import CTA from "@/components/sections/CTA"; import { localeAlternates } from "@/lib/seo"; import type { Metadata } from "next"; export async function generateMetadata({ params, }: { params: Promise<{ locale: string }>; }): Promise { const { locale } = await params; const isSR = locale === "sr"; return { title: isSR ? "Projekti" : "Projects", description: isSR ? "Pogledajte projekte koje sam razvio i deployovao." : "Browse the projects I've built and deployed.", alternates: localeAlternates(locale, "/projects"), }; } export default async function ProjectsPage({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; const dict = getDictionary(locale); const t = dict.projectsPage; return ( <> {/* Hero */}
{t.badge}

{t.title}
{t.titleAccent}

{t.subtitle}

{/* Deployed client projects */} {/* Personal / featured projects */} {/* Build with me CTA */} ); }