2025-06-07 16:31:52 +03:30
|
|
|
import images from '@/assets/images/images';
|
|
|
|
|
import InnerPageBanner from '@/components/layout/innerPages/banner';
|
|
|
|
|
import AboutTopInfo from '@/components/pages/about/TopInfo';
|
2025-06-09 11:29:54 +03:30
|
|
|
import { IPageParams } from '@/models/layout';
|
2025-06-07 16:31:52 +03:30
|
|
|
import { setRequestLocale } from 'next-intl/server';
|
|
|
|
|
import { getTranslations } from 'next-intl/server';
|
|
|
|
|
|
|
|
|
|
export default async function AboutUs({
|
|
|
|
|
params,
|
|
|
|
|
}: Readonly<{
|
2025-06-09 11:29:54 +03:30
|
|
|
params: IPageParams;
|
2025-06-07 16:31:52 +03:30
|
|
|
}>) {
|
|
|
|
|
const { locale } = await params;
|
|
|
|
|
|
|
|
|
|
// Enable static rendering
|
|
|
|
|
setRequestLocale(locale);
|
|
|
|
|
|
|
|
|
|
const t = await getTranslations({ locale });
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<main className="flex flex-col items-center justify-between">
|
|
|
|
|
<InnerPageBanner
|
|
|
|
|
title={t('pages_about_title')}
|
|
|
|
|
imageSrc={images.aboutBanner.src}
|
|
|
|
|
/>
|
|
|
|
|
<AboutTopInfo />
|
|
|
|
|
</main>
|
|
|
|
|
);
|
|
|
|
|
}
|