'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { useLang } from '@/context/LangContext' import { siteConfig } from '@/lib/site' export default function Footer() { const pathname = usePathname() const { t } = useLang() const homeHref = (hash: string) => (pathname === '/' ? hash : `/${hash}`) const linkHrefs = [ [homeHref('#features'), homeHref('#intelligence'), homeHref('#cta'), '/support'], [homeHref('#how'), homeHref('#faq'), '/support'], ['/imprint', '/privacy', '/terms'], ] return ( ) }