Notificaciones

{{ $unread }} sin leer

@forelse ($items as $n) @php $colors = [ 'indigo' => 'bg-brand-50 text-brand-600', 'emerald'=> 'bg-emerald-50 text-emerald-600', 'amber' => 'bg-amber-50 text-amber-600', 'rose' => 'bg-rose-50 text-rose-600', ]; $colorClass = $colors[$n->color] ?? 'bg-ink-100 text-ink-600'; @endphp

{{ $n->title }}

@if ($n->message)

{{ $n->message }}

@endif

{{ $n->created_at?->diffForHumans() }}

@if (! $n->read_at) @endif
@empty

Sin notificaciones

@endforelse