"use client"; import { useEffect } from "react"; import Link from "next/link"; import Image from "next/image"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Facebook, Instagram, Twitter, Youtube, Phone, Mail, MapPin, Truck, RefreshCw, Shield, CreditCard, } from "lucide-react"; export function Footer() { // Preload both logo variants useEffect(() => { const preloadLogos = () => { if (typeof window !== 'undefined') { const lightLogo = new window.Image(); const darkLogo = new window.Image(); lightLogo.src = '/black-logo.png'; darkLogo.src = '/white-logo.png'; } }; preloadLogos(); }, []); const footerLinks = { shop: [ { name: "Women", href: "/women" }, { name: "Men", href: "/men" }, { name: "Kids", href: "/kids" }, { name: "Sale", href: "/sale" }, { name: "New Arrivals", href: "/new-arrivals" }, { name: "Best Sellers", href: "/best-sellers" }, ], company: [ { name: "About Us", href: "/about" }, { name: "Careers", href: "/careers" }, { name: "Press", href: "/press" }, { name: "Sustainability", href: "/sustainability" }, { name: "Store Locator", href: "/stores" }, ], help: [ { name: "Customer Service", href: "/customer-service" }, { name: "Size Guide", href: "/size-guide" }, { name: "Shipping & Returns", href: "/shipping-returns" }, { name: "Track Your Order", href: "/track-order" }, { name: "FAQ", href: "/faq" }, { name: "Contact Us", href: "/contact" }, ], legal: [ { name: "Privacy Policy", href: "/privacy" }, { name: "Terms of Service", href: "/terms" }, { name: "Cookie Policy", href: "/cookies" }, { name: "Accessibility", href: "/accessibility" }, ], }; return ( ); }