@include('frontend.header')
All Announcements 📢
{{-- Bootstrap gap between columns --}} @forelse($announcements as $item)
{{-- Add inner padding --}} {{-- Title + PDF Icon --}}
{{ $item->title }}
@if($item->pdf_file) @endif
{{-- NEW Badge --}} @if($item->created_at >= now()->subDays(15)) NEW @endif {{-- Date --}} {{ $item->created_at->format('d M Y') }}
@empty
No announcements found.
@endforelse
@include('frontend.footer')