// ============================================================================ // public/shell/mobile-tabbar.jsx — Bottom nav for mobile viewports // ---------------------------------------------------------------------------- // Shows up to 4 most-important items + a "More" button that opens the full // sidebar drawer. The selection of "important" items is the first item from // each nav section. // ============================================================================ function MobileTabBar({ nav, route, go, onMore }) { const tabs = []; nav.forEach((section) => section.items.forEach((it) => tabs.length < 4 && tabs.push(it))); return ( ); } window.MobileTabBar = MobileTabBar;