Files
ayristech_new/app/[lang]/services/page.tsx
T
2026-05-30 18:23:21 +03:00

20 lines
685 B
TypeScript

import { getDictionary } from "@/get-dictionary";
import type { Locale } from "@/i18n-config";
import ServicesClient from "@/components/ServicesClient";
export async function generateMetadata({ params }: { params: Promise<{ lang: Locale }> }) {
const { lang } = await params;
const dict = await getDictionary(lang);
return {
title: `${dict.services.title} | ${dict.nav.brandName}${dict.nav.brandSub}`,
description: dict.services.desc,
};
}
export default async function ServicesPage({ params }: { params: Promise<{ lang: Locale }> }) {
const { lang } = await params;
const dict = await getDictionary(lang);
return <ServicesClient lang={lang} dict={dict} />;
}