// src/components/layout/Footer.tsx 'use client'; import Link from 'next/link'; import { Instagram, Facebook, Twitter, Youtube } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { useState } from 'react'; interface FooterSection { title: string; links: Array<{ name: string; href: string; }>; } const footerSections: FooterSection[] = [ { title: 'Produits', links: [ { name: 'Nouvelles Arrivées', href: '/boutique?filter=new' }, { name: 'Collections Premium', href: '/collections/premium' }, { name: 'Melhfa Traditionnelles', href: '/collections/traditionnelles' }, { name: 'Accessoires', href: '/accessoires' }, ], }, { title: 'Aide', links: [ { name: 'Guide des tailles', href: '/aide/tailles' }, { name: 'Livraison', href: '/aide/livraison' }, { name: 'Retours', href: '/aide/retours' }, { name: 'FAQ', href: '/aide/faq' }, ], }, { title: 'Entreprise', links: [ { name: 'À propos', href: '/a-propos' }, { name: 'Carrières', href: '/carrieres' }, { name: 'Presse', href: '/presse' }, { name: 'Contact', href: '/contact' }, ], }, ]; const socialLinks = [ { name: 'Instagram', href: '#', icon: Instagram }, { name: 'Facebook', href: '#', icon: Facebook }, { name: 'Twitter', href: '#', icon: Twitter }, { name: 'YouTube', href: '#', icon: Youtube }, ]; export default function Footer(): JSX.Element { const [email, setEmail] = useState(''); const [isSubscribed, setIsSubscribed] = useState(false); const handleNewsletterSubmit = (e: React.FormEvent): void => { e.preventDefault(); if (!email) return; // Simuler l'inscription à la newsletter setIsSubscribed(true); setEmail(''); setTimeout(() => { setIsSubscribed(false); }, 3000); }; return ( ); }