@php /** @var \App\Models\StaffUser $staff */ $staff = auth('staff')->user(); $groups = \App\View\AdminNavigation::forUser($staff); $context = \App\View\AdminNavigation::current($groups); $portal = \App\View\AdminNavigation::portalLabel($staff); $portalKey = \App\Support\Portal::for($staff); $modePreference = \App\Support\ThemeMode::preference($staff, $portalKey); $initials = collect(preg_split('/\s+/', trim($staff->display_name)))->filter()->take(2)->map(fn ($part) => mb_strtoupper(mb_substr($part, 0, 1)))->implode(''); @endphp {{ ($title ?? $context['item'] ?? 'Dashboard') }} · Mini Max {{ $portal }} @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles Skip to content
{{-- Mobile drawer backdrop --}} {{-- Sidebar --}} {{-- Collapsed-sidebar tooltip: one fixed element, so the scrolling nav can never clip it. Visibility is a plain class toggle, not x-show: x-show reveals via setTimeout but hides in a microtask, so a fast hover-then-click could leave the tooltip stuck on screen. --}}
{{-- Header --}}
@if ($context) @endif
{{-- Day / Night --}} {{-- Appearance: mode + theme + font --}}

Mode

@foreach (config('minimax.theme_modes') as $key => $modeLabel) @endforeach

Color theme

@foreach (config('minimax.theme_colors') as $key => $themeLabel) @endforeach

Font

@foreach (config('minimax.theme_fonts') as $key => $fontLabel) @endforeach
{{-- Profile --}} {{ $staff->display_name }} account menu

{{ $staff->display_name }}

{{ '@'.$staff->username }}

Portal
{{ $portal }}
Access
{{ \App\View\AdminNavigation::roleLabel($staff) }}
@csrf
{{ $slot }}
{{-- Session expired (HTTP 419 on a Livewire request) --}}

Your session has expired

For your security you were signed out. Sign in again to continue — anything you hadn't saved on this page was not submitted.

Sign in again
{{-- Toasts --}}
{{-- Confirmation dialog (driven by data-confirm on buttons; see ) --}}

@livewireScripts