Notifications

@if($unreadCount > 0) {{ $unreadCount }} unread @endif
@if($unreadCount > 0) Mark all as read
@csrf
@endif
@forelse($notifications as $notification)
{{ $notification->title }}
{{ $notification->content }}
{{ $notification->created_at?->diffForHumans() }}
@if(!$notification->read_status) Unread @else Read @endif
@empty
No notifications yet

You're all caught up!

@endforelse