import type { Metadata } from "next"; import { Compass, Layers3, Users } from "lucide-react"; import { getTranslations } from "next-intl/server"; import { Container } from "@/components/layout/container"; import { PageHero } from "@/components/layout/page-hero"; import { MotionFade } from "@/components/motion-fade"; import { buildLocalizedMetadata } from "@/lib/metadata"; import { resolveLocale } from "@/lib/locale"; import { AppCard } from "@/components/ui/app-card"; import { CardContent } from "@/components/ui/card"; type AboutPageProps = { params: { locale: string; }; }; export async function generateMetadata({ params: { locale }, }: AboutPageProps): Promise { const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "aboutPage" }); return await buildLocalizedMetadata({ locale: localeKey, pathname: "/about", title: t("title"), description: t("intro"), }); } export default async function AboutPage({ params: { locale } }: AboutPageProps) { const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "aboutPage" }); return ( <>

{t("valuesTitle")}

{[ { icon: Compass, title: t("valueA"), text: t("valueAText"), }, { icon: Layers3, title: t("valueB"), text: t("valueBText"), }, { icon: Users, title: t("valueC"), text: t("valueCText"), }, ].map((item) => { const Icon = item.icon; return (

{item.title}

{item.text}

); })}

{t("processTitle")}

    {[t("processOne"), t("processTwo"), t("processThree")].map((step, index) => ( {index + 1}

    {step}

    ))}
); }