{{ count(Auth::user()->unreadNotifications) }}
Notifications @if (count(Auth::user()->unreadNotifications) > 0) Mark all as read @endif
@forelse(Auth::user()->notifications as $notification)

{{ $notification->data['heading'] }} @if (!$notification->read_at) @endif

{{ $notification->data['text'] }}
{{ $notification->created_at->diffForHumans() }}
@empty

No notifications found.

@endforelse