{{ isset($serverTime) ? $serverTime : '' }} @php $currentUser = auth()->user(); $displayName = 'Admin'; if ($currentUser && !empty($currentUser->name)) { $displayName = $currentUser->name; } $letters = strtoupper(substr(preg_replace('/\s+/', '', $displayName), 0, 2)); $avatarUrl = 'https://ui-avatars.com/api/?name=' . urlencode($letters) . '&background=0086c1&color=ffffff&size=128'; if ($currentUser && !empty($currentUser->profile_picture)) { $avatarUrl = asset('storage/profile/' . $currentUser->profile_picture); } @endphp
@yield('admin_content')
@stack('scripts')