2025-06-07 16:31:52 +03:30
|
|
|
'use client';
|
|
|
|
|
|
2025-06-05 16:03:59 +03:30
|
|
|
import routeFactory from '@/assets/constants/routeFactory';
|
2025-06-02 14:13:15 +03:30
|
|
|
import images from '@/assets/images/images';
|
|
|
|
|
import AchievementTextBox from '@/components/layout/achievementTextBox';
|
|
|
|
|
import SectionTitle from '@/components/layout/sectionTitle';
|
|
|
|
|
import Button from '@/components/uikit/button';
|
2025-06-07 16:31:52 +03:30
|
|
|
import { useTranslations } from 'next-intl';
|
|
|
|
|
import { useParams } from 'next/navigation';
|
2025-06-02 14:13:15 +03:30
|
|
|
|
|
|
|
|
export default function AboutTopInfo() {
|
2025-06-07 16:31:52 +03:30
|
|
|
const t = useTranslations();
|
|
|
|
|
const params = useParams();
|
|
|
|
|
const locale = params.locale as string;
|
|
|
|
|
const routes = routeFactory(t, locale);
|
|
|
|
|
|
2025-06-02 14:13:15 +03:30
|
|
|
const topInfoAchievementTitles = [
|
2025-06-07 16:31:52 +03:30
|
|
|
t('com_about_info_achievements_1'),
|
|
|
|
|
t('com_about_info_achievements_2'),
|
|
|
|
|
t('com_about_info_achievements_3'),
|
|
|
|
|
t('com_about_info_achievements_4'),
|
2025-06-02 14:13:15 +03:30
|
|
|
];
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className="w-white relative w-full py-28">
|
|
|
|
|
<div className="absolute inset-0 z-10 flex items-end justify-start">
|
|
|
|
|
<img src={images.factoryVector.src} className="max-h-56 w-auto" />
|
|
|
|
|
</div>
|
|
|
|
|
<div className="relative z-20 container mx-auto grid grid-cols-2 items-stretch gap-10">
|
|
|
|
|
<div className="relative h-full">
|
|
|
|
|
<div className="grid h-44 grid-cols-2 gap-4 overflow-hidden">
|
|
|
|
|
<div className="h-full overflow-hidden rounded-3xl">
|
|
|
|
|
<img
|
|
|
|
|
src={images.aboutImg_1.src}
|
2025-06-02 16:45:30 +03:30
|
|
|
className="h-full w-full object-cover"
|
2025-06-02 14:13:15 +03:30
|
|
|
/>
|
|
|
|
|
</div>
|
2025-06-03 10:45:10 +03:30
|
|
|
<div className="flex items-center justify-center gap-5 pb-5">
|
|
|
|
|
<span className="text-primary text-5xl">+25</span>
|
2025-06-02 14:13:15 +03:30
|
|
|
<span className="text-base text-gray-300">
|
2025-06-07 16:31:52 +03:30
|
|
|
{t('com_about_info_years_experience')}
|
2025-06-02 14:13:15 +03:30
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="absolute right-0 bottom-0 h-full w-[70%] pt-32">
|
|
|
|
|
<div className="h-full w-full overflow-hidden rounded-3xl border-[12px] border-white">
|
|
|
|
|
<img
|
|
|
|
|
src={images.aboutImg_2.src}
|
2025-06-02 16:45:30 +03:30
|
|
|
className="h-full w-full object-cover"
|
2025-06-02 14:13:15 +03:30
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="flex flex-col pt-16 pb-20">
|
|
|
|
|
<SectionTitle
|
2025-06-07 16:31:52 +03:30
|
|
|
title={t('pages_about_title')}
|
|
|
|
|
description={t('com_about_info_title')}
|
|
|
|
|
description_bold={t('com_about_info_title_bold')}
|
2025-06-02 14:13:15 +03:30
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<div className="mt-5">
|
|
|
|
|
<p className="text-base font-light text-gray-300">
|
2025-06-07 16:31:52 +03:30
|
|
|
{t('com_about_info_description')}
|
2025-06-02 14:13:15 +03:30
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="mt-10 flex flex-col gap-4">
|
|
|
|
|
{topInfoAchievementTitles.map((title, index) => (
|
|
|
|
|
<AchievementTextBox key={index} title={title} />
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
<div className="mt-10">
|
2025-06-07 16:31:52 +03:30
|
|
|
<Button endIcon="showMore" link={routes.contact.route()}>
|
|
|
|
|
{t('pages_contact_title')}
|
2025-06-03 10:45:10 +03:30
|
|
|
</Button>
|
2025-06-02 14:13:15 +03:30
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|