import { useState, useEffect } from 'react' import Link from 'next/link' import { useRouter } from 'next/router' import { FiMenu, FiX, FiSearch } from 'react-icons/fi' import { HiSparkles, HiBookOpen } from 'react-icons/hi' export default function Header() { const [isMenuOpen, setIsMenuOpen] = useState(false) const [isScrolled, setIsScrolled] = useState(false) const router = useRouter() // Handle scroll effect for header useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 20) } window.addEventListener('scroll', handleScroll) return () => window.removeEventListener('scroll', handleScroll) }, []) const navigation = [ { name: 'Início', href: '/', icon: HiSparkles, description: 'Página principal com visão geral' }, { name: 'Biblioteca de Prompts', href: '/prompts', icon: HiBookOpen, description: 'Prompts especializados para sua área' }, { name: 'Sobre', href: '#sobre', description: 'Conheça o Prof. Gabriel Ramos' }, { name: 'Contato', href: '#contato', description: 'Entre em contato conosco' }, ] const handleNavClick = (href) => { setIsMenuOpen(false) if (href.startsWith('#')) { const element = document.querySelector(href) if (element) { element.scrollIntoView({ behavior: 'smooth' }) } } } return (
{/* Logo */}
AI.Wiki.BR

Por Prof. Gabriel Ramos

{/* Desktop Navigation */} {/* Mobile menu button */}
{/* Mobile Navigation */} {isMenuOpen && (
)}
{/* Built with anycoder link */}

Built with anycoder

) }