import React, { useState } from 'react'; import { Link } from 'react-router-dom'; import { Button } from '@/components/ui/button'; import { Music2, Menu, X, Sparkles } from 'lucide-react'; import { motion, AnimatePresence } from 'framer-motion'; const Navbar = () => { const [mobileMenuOpen, setMobileMenuOpen] = useState(false); const toggleMobileMenu = () => { setMobileMenuOpen(!mobileMenuOpen); }; const navLinks = [ { to: "/", text: "Accueil" }, { to: "/creations", text: "Créations" }, { to: "/commander", text: "Commander une chanson", primary: true }, ]; const mobileMenuVariants = { hidden: { opacity: 0, y: -20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.3 } }, exit: { opacity: 0, y: -20, transition: { duration: 0.2 } }, }; return ( ); }; export default Navbar;