import React, { useState, useEffect } from 'react'; import { Link } from 'react-router-dom'; import { ListIcon, MagnifyingGlassIcon } from '@phosphor-icons/react'; const LuxeNavbar = ({ toggleSidebar, isSidebarOpen, isSearchVisible, toggleSearch, }) => { const [isScrolled, setIsScrolled] = useState(false); useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 20); }; window.addEventListener('scroll', handleScroll); return () => { window.removeEventListener('scroll', handleScroll); }; }, []); return (
{' '}
{/* Left: Sidebar Toggle & Brand */}
Fezcodex
{/* Right: Actions */}
About
); }; export default LuxeNavbar;