'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { cn } from '@/lib/utils' import { Button } from '@/components/ui/button' import { ScrollArea } from '@/components/ui/scroll-area' import { Separator } from '@/components/ui/separator' import { LayoutDashboard, Search, Settings, HelpCircle, LogOut, Sparkles, Target } from 'lucide-react' interface SidebarProps { productName?: string } export function Sidebar({ productName }: SidebarProps) { const pathname = usePathname() const routes = [ { label: 'Dashboard', icon: LayoutDashboard, href: '/dashboard', active: pathname === '/dashboard', }, { label: 'Opportunities', icon: Target, href: '/opportunities', active: pathname === '/opportunities', }, ] const bottomRoutes = [ { label: 'Settings', icon: Settings, href: '/settings', }, { label: 'Help', icon: HelpCircle, href: '/help', }, ] return (
{/* Logo */}
Sanati
{/* Product Name */} {productName && (

Analyzing

{productName}

)} {/* Main Nav */} {/* Bottom */}
) }