{{ __('welcome_user', ['name' => Auth::user()->name ?? 'User']) }}
0 @php $unreadCutoff = now()->subDays(14); $unreadNotificationsCount = Auth::user()?->unreadNotifications()?->where('created_at', '>=', $unreadCutoff)->count() ?? 0; $unreadNotifications = Auth::user()?->unreadNotifications()?->where('created_at', '>=', $unreadCutoff)->latest()?->limit(6)?->get() ?? collect(); @endphp