import type { LucideIcon } from 'lucide-react'; import { NavLink } from 'react-router'; import { LayoutGrid, Search, ArrowDownToLine, ArrowUpFromLine, Hash, MessageCircle, Users, Server, Plug, } from 'lucide-react'; import { SOULSEEK_SECTIONS, soulseekSectionPath, type SoulseekSectionId } from './shared'; // Left panel of the /soulseek workspace — a vertical section menu mirroring slskd's top nav. Entries are // react-router NavLinks to /soulseek/
, so active state comes from the router and SoulseekView // (right) learns which section is open by reading the same URL rather than by being told. const ICONS: Record = { dashboard: LayoutGrid, search: Search, downloads: ArrowDownToLine, uploads: ArrowUpFromLine, rooms: Hash, chat: MessageCircle, users: Users, system: Server, connection: Plug, }; export const SoulseekNav = () => { return (
Soulseek
slskd client
); };