'use client'; import { appConstants } from '@/assets/constants'; import { getQuickLinks } from '@/assets/constants/footerMenu/quickLinks.const'; import { getWhoAreWeLinks } from '@/assets/constants/footerMenu/whoAreWe.const'; import images from '@/assets/images/images'; import { Icon, IconName } from '@/components/uikit/icons'; import { TLocales } from '@/models/layout'; import { useTranslations } from 'next-intl'; import Image from 'next/image'; import Link from 'next/link'; import { useParams } from 'next/navigation'; import FooterInfo from './FooterInfo'; import FooterMenuBuilder from './FooterMenuBuilder'; import FooterMenuBuilderWrapper from './FooterMenuBuilderWrapper'; export default function Footer() { const t = useTranslations(); const params = useParams(); const locale = (params.locale as TLocales) || 'en'; const quickLinks = getQuickLinks(t, locale); const whoAreWeLinks = getWhoAreWeLinks(t, locale); return (
footer-bg

{t('footer_title')}

{t('footer_description')}
+98 12345678 info@sample.com {t('footer_links_address')}
{appConstants.socials.map((social) => ( ))}

{t('footer_copyright', { year: new Date().getFullYear() })}

); }