"use client"; import { useTranslations } from 'next-intl'; import { Instagram } from '@/components/InstagramIcon'; import { Link, usePathname } from '@/i18n/routing'; import Image from 'next/image'; export default function Footer() { const t = useTranslations('Footer'); const tNav = useTranslations('Navbar'); const pathname = usePathname(); const navLinks = [ { href: pathname === '/' ? '#about' : '/#about', label: tNav('about') }, { href: '/accommodation', label: tNav('accommodation') }, { href: pathname === '/' ? '#beach' : '/#beach', label: tNav('beach') }, { href: pathname === '/' ? '#dining' : '/#dining', label: tNav('dining') }, { href: pathname === '/' ? '#events' : '/#events', label: tNav('events') }, { href: pathname === '/' ? '#gallery' : '/#gallery', label: tNav('gallery') }, { href: pathname === '/' ? '#contact' : '/#contact', label: tNav('contact') }, ]; return ( ); }