'use client'; import { Users } from 'lucide-react'; import Image from 'next/image'; import AboutCounter from '@/shared/components/about-counter'; import { Container } from '@/shared/components/container'; import { useTextController } from '@/shared/language/hooks/use-text-controller'; export const AboutSection = () => { const { t } = useTextController(); return ( {t('home.about.title')} {t('home.about.description1')} {t('home.about.description2')} ); }; interface Feature { title: string; description: string; } const features: Array = [ { title: 'home.about.features.quality.title', description: 'home.about.features.quality.description', }, { title: 'home.about.features.equipment.title', description: 'home.about.features.equipment.description', }, { title: 'home.about.features.staff.title', description: 'home.about.features.staff.description', }, ]; const Features = () => { const { t } = useTextController(); return ( {features.map(({ title, description }) => { return ( ✓ {t(title)} {t(description)} ); })} ); };
{t('home.about.description1')}
{t('home.about.description2')}
{t(description)}