import { Link, useLocation } from '@tanstack/react-router' import { useTranslation } from 'react-i18next' import { cn } from '../../lib/utils' import { Logo } from '../brand' import { NavBadge } from './NavBadge' import { isNavItemActive, NAV_ITEMS } from './nav-items' export function Sidebar({ immersive = false }: { immersive?: boolean }) { const location = useLocation() const { t } = useTranslation('layout') return ( // Without the global header there's nothing to clear above: the sidebar // column takes over the whole window and lines up with the height of the // LargeTitle bar. ) }