@fonts @vite(['resources/css/app.css', 'resources/js/app.js'])
{{-- Mobile overlay --}} {{-- Sidebar --}} {{-- Main column --}}
{{-- Top bar --}}
@isset($header)
{{ $header }}
@endisset
{{-- Notifications --}} @php $unreadNotices = Auth::user()->unreadNotifications()->count(); @endphp request()->routeIs('notifications.*'), 'text-slate-500 hover:text-ink' => ! request()->routeIs('notifications.*')]) aria-label="Notifications{{ $unreadNotices ? ", {$unreadNotices} unread" : '' }}"> @if ($unreadNotices) {{ $unreadNotices > 9 ? '9+' : $unreadNotices }} @endif {{-- User menu --}} Profile
@csrf Log out
{{-- Optional full-width band above the page content --}} {{ $hero ?? '' }} {{-- Page content --}}
{{ $slot }}