"use client"; import Link from "next/link"; import Image from "next/image"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; import { navigationSections } from "@/lib/navigation"; function isActive(pathname: string, href: string) { return pathname === href || (href !== "/" && pathname.startsWith(href)); } type SidebarProps = { onNavigate?: () => void; }; export function Sidebar({ onNavigate }: SidebarProps) { const pathname = usePathname(); return ( ); }