"use client"; import Link from "next/link"; import { useState } from "react"; import { Menu, X } from "lucide-react"; import Button from "./Button"; const navigation = [ { name: "Home", href: "/" }, { name: "Services", href: "/services" }, { name: "Solutions", href: "/solutions" }, { name: "About", href: "/about" }, { name: "Contact", href: "/contact" }, ]; export default function Header() { const [mobileMenuOpen, setMobileMenuOpen] = useState(false); return (
{/* Mobile Navigation */}
{navigation.map((item, index) => ( setMobileMenuOpen(false)} style={{ animationDelay: `${index * 50}ms` }} > {item.name} ))}
); }