import { NavLink, Outlet } from 'react-router-dom' import { NAV_GROUPS, STAGES } from '../api/config.js' import UserMenu from './UserMenu.jsx' import logo from '../assets/brand/zurich_logo.webp' import './Shell.css' /** * The sidebar groups the pipeline by WHO IS HOLDING each lead, not by where it * sits in the process. Fourteen flat stages answer "what is the process?", which * is not the question anyone signing in has; these answer "is anything waiting * on me?". Queues that need a person are named by what they want done. * * It deliberately carries no counts. A tally here can only come from fetching * every lead on a timer and counting client-side, which is a second full list * call per open tab that disagrees with the queue's own total the moment either * one is paged. The count belongs on the queue, which already has it from the * server. */ export default function Shell() { return (