'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { LayoutDashboard, Upload, Globe, HardDrive, Users, Activity, Settings, Fingerprint, Shield, LogOut, Clock, } from 'lucide-react'; const NAV_ITEMS = [ { href: '/dashboard', label: 'Dashboard', icon: LayoutDashboard }, { href: '/upload', label: 'Upload', icon: Upload }, { href: '/explorer', label: 'Explorer', icon: Globe }, { href: '/pins', label: 'Pins', icon: HardDrive }, { href: '/history', label: 'History', icon: Clock }, { href: '/ipns', label: 'IPNS', icon: Fingerprint }, { href: '/peers', label: 'Peers', icon: Activity }, { href: '/users', label: 'Users', icon: Users }, { href: '/admin/payment', label: 'Payment Admin', icon: Shield }, { href: '/settings', label: 'Settings', icon: Settings }, ]; export default function PortalSidebar() { const pathname = usePathname(); function handleDisconnect() { window.location.href = '/'; } return ( ); }