import React, { useContext } from 'react'; import { sections } from '../constants'; import { ThemeContext } from '../App'; interface HeaderProps { activeSection: string; onSectionChange: (sectionId: string) => void; } const Header: React.FC = ({ activeSection, onSectionChange }) => { const { theme } = useContext(ThemeContext); const buttonBaseClasses = "relative overflow-hidden transition-all duration-300 ease-in-out py-3 px-6 text-sm font-semibold tracking-wider uppercase rounded-full backdrop-blur-lg focus:outline-none"; const darkClasses = "bg-white/5 border border-white/20 text-[#00ffff] hover:bg-white/10 hover:shadow-[0_0_30px_#00ffff] hover:-translate-y-0.5 hover:border-[#00ffff]"; const lightClasses = "bg-black/5 border border-black/20 text-[#0066cc] hover:bg-black/10 hover:shadow-[0_0_30px_#0066cc] hover:-translate-y-0.5 hover:border-[#0066cc]"; return (
); }; export default Header;