@php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; $userInitials = Auth::check() ? collect(preg_split('/\s+/', trim(Auth::user()->name))) ->map(fn ($word) => mb_strtoupper(mb_substr($word, 0, 1))) ->take(2) ->implode('') : 'U'; @endphp @if (isset($navbarFull)) @endif @if (!isset($navbarHideToggle)) @endif