"use client"; import { useCookieConsent } from "@/components/cookies"; import { useTranslation } from "@/lib/hooks/useTranslation"; import { container } from "@/lib/utils"; import Image from "next/image"; import Link from "next/link"; export function Footer() { const { t } = useTranslation(); const { openModal } = useCookieConsent(); // Definiraj linkove s prijevodima const navLinks = [ { name: t('footer.build_box'), href: "/build-box" }, { name: t('footer.products'), href: "/products" }, { name: t('footer.about'), href: "/about" } ]; const legalLinks = [ { name: t('footer.privacy_policy'), href: "/privacy-policy" }, { name: t('footer.terms_of_service'), href: "/terms-of-service" }, { name: t('footer.cookies_settings'), href: "#", isButton: true } ]; const socialLinks = [ { name: t('footer.social.facebook'), href: "https://facebook.com/sentshop", icon: "/assets/images/Facebook.png" }, { name: t('footer.social.instagram'), href: "https://instagram.com/sentshop", icon: "/assets/images/Instagram.png" } ]; const handleCookiesSettings = () => { openModal(); }; return ( ); }