@php $unreadNotifications = user()->unreadNotifications ?? collect([]); $readNotifications = user()->readNotifications ?? collect([]); $url = _route('student.markNotification'); if(is_student()){ $logo = $dataConfigs['logo'] ?? null; $logout = _route('student.logout'); }else{ $logout = route('fe.logout'); $logo = $dataSettings['logo'] ?? null; } $unreadNotifications_count = $unreadNotifications->count(); @endphp @push("script") @endpush