import { Link, useLocation } from 'react-router-dom' import { useApp } from '../../stores/AppContext' import ThemeSwitcher from './ThemeSwitcher' import ConnectionBadge from './ConnectionBadge' const NAV_ITEMS = [ { path: '/', label: 'Overview' }, { path: '/players', label: 'Players' }, { path: '/guilds', label: 'Guilds' }, { path: '/vehicles', label: 'Vehicles' }, { path: '/buildings', label: 'Buildings' }, { path: '/map', label: 'Map' }, { path: '/accounts', label: 'Accounts' }, { path: '/server', label: 'Server' }, { path: '/chat', label: 'Chat' }, { path: '/admin', label: 'Admin' }, { path: '/files', label: 'Files' }, { path: '/director', label: 'Director' }, { path: '/settings', label: 'Settings' }, { path: '/shell', label: 'Shell' }, ] export default function NavBar() { const location = useLocation() const { state } = useApp() return ( ) }