Notifications

@csrf Mark all read
@foreach ($notifications as $notification)

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

{{ $notification->data['body'] ?? '' }}

@if (! empty($notification->data['url'])) Open @endif @unless ($notification->read_at)
@csrf
@endunless
@endforeach {{ $notifications->links() }}