import { NavLink, Outlet } from 'react-router-dom' import { useZino } from '../api/provider.jsx' import { STAGES } from '../api/config.js' import logo from '../assets/brand/zurich_logo.webp' import './Shell.css' /** * The sidebar IS the pipeline, in the order a lead moves — so the shape of the * process is legible before any record is opened. The one human queue is marked * as such, because it is the only place the machine stops. */ export default function Shell() { const { user, signOut } = useZino() const work = STAGES.filter((s) => s.kind !== 'end') const closed = STAGES.filter((s) => s.kind === 'end') return (
Zurich Kotak General Insurance
Lead Desk Lead to Policy
{user?.name || user?.email || 'Signed in'} {user?.email}
) }