{{--
1

You have 2 news message

Michelle Moreno
Michelle Moreno

Have sent a photo

3 min ago
1
--}}
@if(count(Auth::user()->unreadNotifications) >5 )5+ @else {{count(Auth::user()->unreadNotifications)}} @endif

Notification Center

@foreach(Auth::user()->unreadNotifications as $notification)
{{-- --}}

{{$notification->data['title']}}

{{$notification->created_at->format('F d, Y h:i A')}}
@if($loop->index+1==5) @php break; @endphp @endif @endforeach