'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { Compass, Home, LineChart, ScanLine, UserRound } from 'lucide-react'; import { cn } from '@/lib/format'; const TABS = [ { href: '/', label: 'Home', icon: Home, match: (p: string) => p === '/' }, { href: '/explore', label: 'Explore', icon: Compass, match: (p: string) => p.startsWith('/explore') || p.startsWith('/search') || p.startsWith('/asset') || p.startsWith('/set') || p.startsWith('/brand') }, { href: '/markets', label: 'Markets', icon: LineChart, match: (p: string) => p.startsWith('/markets') || p.startsWith('/rareindex') || p.startsWith('/trending') || p.startsWith('/sales') || p.startsWith('/listings') || p.startsWith('/auctions') || p.startsWith('/market-map') }, { href: '/scanner', label: 'Scanner', icon: ScanLine, match: (p: string) => p.startsWith('/scanner') || p.startsWith('/research') }, { href: '/account', label: 'Account', icon: UserRound, match: (p: string) => p.startsWith('/account') || p.startsWith('/collections') || p.startsWith('/watchlist') || p.startsWith('/alerts') || p.startsWith('/login') || p.startsWith('/signup') || p.startsWith('/notifications') }, ]; /** Mobile bottom tab bar (ยง165): five primary destinations, safe-area aware, hidden from md up. */ export function TabBar() { const pathname = usePathname() ?? '/'; if (pathname.startsWith('/admin')) return null; return ( ); }