'use client'; import { motion } from 'framer-motion'; import { FaMusic, FaShoppingCart } from 'react-icons/fa'; import { useCart } from '@/lib/CartContext'; interface HeaderProps { onCartClick?: () => void; } export default function Header({ onCartClick }: HeaderProps) { const { getCartCount } = useCart(); const cartCount = getCartCount(); const scrollToSection = (id: string) => { const element = document.getElementById(id); if (element) { element.scrollIntoView({ behavior: 'smooth' }); } }; return (
{/* Logo */} window.scrollTo({ top: 0, behavior: 'smooth' })} >

Parsa

Progressive Rock

{/* Navigation */}
); }