{{-- theme-bcp-light turns the neutral ramp over for this panel: the very same bg-slate-950 below now paints a pale ground, and text-slate-100 paints near-black ink. Nothing else in the class list changes, here or on any of the 66 admin views. See resources/css/app.css; the sidebar puts the dark ramp back for its own subtree. --}} {{ $title ?? 'Admin' }} — {{ config('app.name', 'Bindu Control Panel') }} {{-- Compiled Tailwind v4 and locally bundled Alpine. The palette that used to be configured here for the Tailwind Play CDN now lives in resources/css/app.css. --}} @vite(['resources/css/app.css', 'resources/js/app.js']) @include('partials.bcp-sidebar-script') @verbatim @endverbatim
so the pre-paint script above and Alpine drive the same switch, and the collapsed rules need only one selector. --}} x-effect="document.documentElement.setAttribute('data-bcp-collapsed', collapsed ? 'true' : 'false')" @keydown.window="onShortcut($event)" class="bcp-shell flex h-screen overflow-hidden" > @include('partials.bcp-sidebar') {{-- Mobile scrim. The drawer used to open over the page with nothing behind it, so a tap meant for the backdrop landed on the content. --}} {{-- min-w-0 lets wide tables scroll inside the column instead of pushing the whole page sideways. --}}
{{-- Slightly above the page rather than level with it: the ground is lighter now, so a translucent bar over it no longer separates on colour alone and needs the shadow to do it. --}} {{-- The top bar, laid out to the reference: something to press on the left, a search beside it, and who you are on the right. Two things in the reference are missing on purpose, and it is the same reason for both — the feature behind them does not exist yet: * a notifications tray with a count. A bell reading "3" when nothing has produced three of anything is an invented number in the most trusted corner of the screen. The bell here opens Security & Alerts, which is a real screen, and it carries no badge. * a global search across tenants, domains, invoices and tickets. There is no endpoint behind that. The search below filters the menu — which is wired up, and which the placeholder says plainly rather than implying more. --}}
{{-- One button, two jobs, because the rail behaves differently at each size: a drawer on a phone, a width on a desktop. --}} {{-- The same Alpine state the sidebar's own search box uses, so the two stay in step rather than being two fields that each half-filter the menu. --}} {{-- Runtime versions. Genuinely useful on a control plane and genuinely not the headline, so they sit at the quietest weight the type scale has, and step aside entirely once the bar gets crowded. --}}
{{-- The bell finally rings. It was built without a badge because nothing produced a count worth showing, and an invented one in the most trusted corner of the screen is worse than none. Something produces it now: overdue invoices, subscriptions in grace and breached support SLAs, raised by the scheduled scan. --}} @auth {{-- The account, as one unit: initial, name, role. It reads as "who am I signed in as" at a glance, which a bare name in grey never did. --}}
@csrf
@endauth
{{-- A measure for the content. Run edge to edge on a wide monitor and a heading starts a metre from where its table ends, which is tiring to read across and makes the page look unedited. The cap is generous enough that the tenant table is never the thing being squeezed. --}}
{{ $slot }}