@php $isRead = in_array(auth()->id(), explode(',', $notification->read_by ?? '')); $href = $notification->notification_href ? $notification->notification_href : '#'; @endphp
  • {{ getInitials($notification->user_name) }} {{-- @if ($notification->profile_path != null) @else {{ getInitials($notification->user_name) }} @endif --}}

    {{ $notification->notification_title ?? 'Notification' }}

    {!! $notification->notification_description ?? '' !!} {{ \Carbon\Carbon::parse($notification->created_at)->diffForHumans() }}