'use client'; interface SidebarProps { activeView: 'newScrape' | 'jobs' | 'reports'; onViewChange: (view: 'newScrape' | 'jobs' | 'reports') => void; jobCount: number; } export default function Sidebar({ activeView, onViewChange, jobCount }: SidebarProps) { const navItems = [ { id: 'newScrape' as const, icon: ( ), label: 'New Scrape', }, { id: 'jobs' as const, icon: ( ), label: 'Jobs', badge: jobCount > 0 ? jobCount : undefined, }, { id: 'reports' as const, icon: ( ), label: 'Reports', }, ]; return (