'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { ADMIN_LINK, NAV } from '@/components/layout/Sidebar'; const SEPARATOR = |; export function FooterStatusBar() { const pathname = usePathname(); // Mirror the TopBar section resolution so the footer names the active module. const current = [...NAV, ADMIN_LINK].find((item) => pathname.startsWith(item.href)); const section = (current?.label ?? 'Orchestration Layer').toUpperCase(); return ( ); }