import { NavLink, Outlet, useNavigate } from 'react-router-dom' import { Building2, Gauge, Landmark, ShieldCheck, Siren } from 'lucide-react' import { clearSessions, officerSession } from '../../lib/api' const NAV = [ { label: 'National view', to: '/nabard', end: true, icon: Gauge }, { label: 'Partner banks', to: '/nabard/banks', icon: Landmark }, { label: 'Early warning', to: '/nabard/digest', icon: Siren }, { label: 'Institutions', to: '/nabard/institutions', icon: Building2 }, ] /** * The apex portal shell. * *
Deliberately a different chrome from the bank console. A NABARD user and a * branch officer are not two ranks of one job — they see different things and * may do different things, and a portal that looked identical would invite the * assumption that the apex user is simply a bank user with more rights. */ export function NabardShell() { const navigate = useNavigate() const session = officerSession() return (