'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, LogOut, Sparkles, Target } from 'lucide-react' interface SidebarProps { productName?: string } export function Sidebar({ productName }: SidebarProps) { const pathname = usePathname() const routes = [ { label: 'Overview', icon: LayoutDashboard, href: '/app/dashboard', active: pathname === '/app/dashboard', }, ] return (
Analyzing
{productName}