@php
$icon = '๐';
if (str_contains($notification->title, '๐')) $icon = '๐';
elseif (str_contains($notification->title, '๐
')) $icon = '๐
';
elseif (str_contains($notification->title, '๐ง')) $icon = '๐ง';
elseif (str_contains($notification->title, 'โ๏ธ')) $icon = 'โ๏ธ';
@endphp
{{ $icon }}
{{ str_replace(['๐', '๐
', '๐ง', 'โ๏ธ', '๐'], '', $notification->title) }}
{{ $notification->message }}
{{ $notification->created_at->diffForHumans() }}
@if(!$notification->read)
@endif