'use client'; import { useEffect, useState } from 'react'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { NavigationMenu, NavigationMenuItem, NavigationMenuList } from '@/components/ui/navigation-menu'; const components: { title: string; href: string; description: string }[] = [ { title: 'title of subpage', href: 'url', description: 'a description' } ]; export default function Navbar() { const [ scrolled, setScrolled ] = useState(false); useEffect(() => { const handleScroll = () => { const isScrolled = window.scrollY > 0; setScrolled(isScrolled); }; window.addEventListener('scroll', handleScroll); return () => { window.removeEventListener('scroll', handleScroll); }; }, []); return <>
{"Lumither\'s Blog"}