{{-- Aurora shell — horizontal top nav with the wallet balance always visible in the header. Skinned entirely by the base :root/.dark tokens (Aurora is the default identity). Consumes $nav / $navActive / $user / $balance / $slot from the client layout wrapper. --}} {{-- ============================ TOP NAV ============================ --}} {{-- `overflow-x:clip` (NOT `overflow:hidden`) contains the nav row sideways while letting the dropdowns below — language, user menu, the nav submenus — hang out of the bar. `hidden` clipped them on BOTH axes, so an opened menu showed only the 3px of its rounded top edge that fitted inside the 56px header. `clip` on one axis is the one value that keeps `visible` legal on the other. --}}
{{-- Brand: logo or initial + name. logo_dark shown in light mode, logo_light in dark. Falls back to the gradient initial + text when no logo is uploaded. --}} @php $_tb = panel_branding(); $_tbLogoDark = $_tb['logo_dark'] ?? $_tb['logo'] ?? null; $_tbLogoLight = $_tb['logo_light'] ?? null; $_tbFavicon = panel_favicon_url(); @endphp @if ($_tbLogoDark) {{ \App\Support\Brand::name() }} @if ($_tbLogoLight) @else @endif @else @if ($_tbFavicon) {{ \App\Support\Brand::name() }} @else {{ mb_strtoupper(mb_substr(\App\Support\Brand::name(), 0, 1)) }} @endif @endif {{-- Desktop nav --}}
{{-- Balance widget: wallet icon + balance (shrink-0 so right side never gets squished) --}} {{-- Language switcher --}}
@foreach (active_locales() as $code => $label) {{ $label }} @endforeach
{{-- Theme toggle --}} {{-- Fullscreen --}} {{-- User menu --}}
{{ $user->display_name ?? $user->name }}
{{ $user->email }}
{{ __('Profile') }} @if (api_enabled()) {{ __('API key') }} @endif
@csrf
{{-- Mobile menu toggle --}}
{{-- Mobile nav panel --}}
{{ __('Balance') }} {{ $balance }}
{{-- ============================ MAIN ============================ --}}
{{ $slot }}
@include('partials.client-footer')