'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { cn } from '@/lib/format'; export interface AccountNavItem { href: string; label: string; badge?: number; } export const ACCOUNT_NAV: Array<{ label: string; items: AccountNavItem[] }> = [ { label: 'My RareIndex', items: [ { href: '/collections', label: 'Collections' }, { href: '/my-index', label: 'My Index' }, { href: '/watchlist', label: 'Watchlist' }, { href: '/targets', label: 'Price targets' }, { href: '/deals', label: 'Deal Radar' }, { href: '/saved', label: 'Saved searches' }, ], }, { label: 'Signals', items: [ { href: '/alerts', label: 'Alerts' }, { href: '/notifications', label: 'Inbox' }, ], }, { label: 'Account', items: [ { href: '/account/settings', label: 'Profile' }, { href: '/account/security', label: 'Security' }, { href: '/account/notifications', label: 'Notifications' }, { href: '/account/api-keys', label: 'API keys' }, { href: '/account/data', label: 'Data & privacy' }, ], }, ]; export function AccountNav({ unread, handle }: { unread: number; handle: string | null }) { const pathname = usePathname(); return ( ); }