@extends('layouts.influencer', ['title' => 'Notificações']) @section('content')

Notificações

Você tem {{ $unreadCount }} notificação(ões) não lida(s).

@forelse($notifications as $notification)
@if(! $notification->read_at) @endif

{{ $notification->message->title }}

{{ Str::limit(strip_tags($notification->message->body), 180) }}

Recebida em {{ $notification->received_at?->format('d/m/Y H:i') }}

{{ $notification->message->type->label() }} @if($notification->message->attachments->isNotEmpty())

{{ $notification->message->attachments->count() }} anexo(s)

@endif
@empty
Nenhuma notificação recebida.
@endforelse
{{ $notifications->links() }}
@endsection