@php $user = auth()->user(); $userName = $user ? (method_exists($user, 'getDisplayName') ? $user->getDisplayName() : ($user->email ?? '#' . $user->getKey())) : null; @endphp
{{-- Start: mobile menu + page title --}}

{{ $title ?? config('dashboard.brand_name') }}

{{-- End: single glass cluster hosting every action. Spotlight (CSS ::before) tracks the cursor via --mx/--my for a premium feel. --}}
{{-- Preferences group --}} {{-- Action group: peek-blur toggle --}} {{-- User group --}}
{{ __('dashboard::dashboard.auth.notifications') }}
{{ __('dashboard::dashboard.auth.no_notifications') }}
@if ($user)
{{ __('dashboard::dashboard.auth.account') }}
{{ $userName }}
@csrf {{ __('dashboard::dashboard.auth.logout') }}
@endif