'use client'; import Link from 'next/link'; import { useTranslations, useLocale } from 'next-intl'; import { Github, Heart } from 'lucide-react'; import Image from 'next/image'; export function Footer() { const t = useTranslations('footer'); const locale = useLocale(); const currentYear = new Date().getFullYear(); const footerLinks = { product: [ { name: t('links.browseSkills'), href: `/${locale}/browse` }, { name: t('links.categories'), href: `/${locale}/categories` }, { name: t('links.featured'), href: `/${locale}/featured` }, { name: t('links.newSkills'), href: `/${locale}/new` }, ], resources: [ { name: t('links.documentation'), href: `/${locale}/docs` }, { name: t('links.gettingStarted'), href: `/${locale}/docs/getting-started` }, { name: t('links.apiReference'), href: `/${locale}/docs/api` }, { name: t('links.cliTool'), href: `/${locale}/docs/cli` }, ], company: [ { name: t('links.about'), href: `/${locale}/about`, external: false }, { name: t('links.airano'), href: 'https://airano.ir', external: true }, { name: t('links.paleBlueDot'), href: 'https://palebluedot.live', external: true }, { name: t('links.support'), href: `/${locale}/support`, external: false, isSupport: true }, ], legal: [ { name: t('links.privacyPolicy'), href: `/${locale}/privacy` }, { name: t('links.termsOfService'), href: `/${locale}/terms` }, { name: t('links.attribution'), href: `/${locale}/attribution` }, { name: t('links.manageSkills'), href: `/${locale}/claim` }, ], }; return ( ); }