"use client"; import React, { useState, useEffect } from "react"; import Link from "next/link"; import { Github } from "lucide-react"; import { Button } from "@/components/ui/button"; import { PortfolioLogo } from "@/components/icons"; import { cn } from "@/lib/utils"; const navItems = [ { name: "About", href: "#about" }, { name: "Projects", href: "#projects" }, { name: "Skills", href: "#skills" }, { name: "Contact", href: "#contact" }, ]; export function Header() { const [isScrolled, setIsScrolled] = useState(false); useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 10); }; window.addEventListener("scroll", handleScroll); return () => { window.removeEventListener("scroll", handleScroll); }; }, []); return (
Portfolio
); }