@extends('layouts.app', ['title' => 'নোটিফিকেশন'])
@section('content')
{{-- Smooth fonts + AOS --}}
{{-- Banner (same gradient as your mock) --}}
নোটিফিকেশন
সর্বশেষ নোটিফিকেশনগুলো দেখুন
{{-- নতুন (আজ) --}}
@if($today->count())
নতুন
@foreach($today as $idx => $n)
নোটিফিকেশন
নতুন
{{ $n->created_at->format('d M Y') }}
{{ $n->created_at->format('h:i A') }}
@if($n->body)
{!! nl2br(e($n->body)) !!}
@else
{{ $n->title }}
@endif
@endforeach
@endif
{{-- গতকাল --}}
@if($yesterday->count())
গতকাল
@foreach($yesterday as $idx => $n)
নোটিফিকেশন
গতকাল
{{ $n->created_at->format('d M Y') }}
{{ $n->created_at->format('h:i A') }}
@if($n->body)
{!! nl2br(e($n->body)) !!}
@else
{{ $n->title }}
@endif
@endforeach
@endif
{{-- পুরাতন --}}
@if($older->count())
পুরাতন
@foreach($older as $idx => $n)
নোটিফিকেশন
পুরাতন
{{ $n->created_at->format('d M Y') }}
{{ $n->created_at->format('h:i A') }}
@if($n->body)
{!! nl2br(e($n->body)) !!}
@else
{{ $n->title }}
@endif
@endforeach
@endif
@if(!$today->count() && !$yesterday->count() && !$older->count())
কোন নোটিফিকেশন নেই।
@endif
@endsection