@extends('surface.app') @section('head') সার্কুলার ও বিজ্ঞপ্তি - {{ $site_info->name ?? '' }} @endsection @section('content') @php $categories = [ 'result' => ['label' => 'ফলাফল', 'icon' => 'fa-award'], 'circular' => ['label' => 'সার্কুলার', 'icon' => 'fa-bullhorn'], 'application' => ['label' => 'আবেদন', 'icon' => 'fa-file-signature'], 'other' => ['label' => 'অন্যান্য', 'icon' => 'fa-layer-group'], ]; $counts = []; foreach ($categories as $key => $meta) { $counts[$key] = $notices->where('notice_type', $key)->count(); } $total = $notices->count(); @endphp
{{-- ── HEADER ── --}}

Notices & Circulars

সার্কুলার ও বিজ্ঞপ্তি

সর্বশেষ সকল সার্কুলার ও বিজ্ঞপ্তি দেখুন এবং সহজেই আবেদন করুন

{{-- ── CATEGORY CARDS ── --}}
@foreach ($categories as $key => $meta) @endforeach
{{-- ── CIRCULARS GRID ── --}}
@forelse ($notices as $item) @php $isExpired = $item->deadline && \Carbon\Carbon::parse($item->deadline)->isPast(); $detailUrl = route('spec_notice', ['id' => $item->id, 'title' => \Illuminate\Support\Str::slug($item->title)]); @endphp
{{-- Decorative circles --}}
{{-- Category / Type / Deadline badges --}}
{{ $categories[$item->notice_type]['label'] ?? ucfirst($item->notice_type) }} @if ($item->details_type === 'pdf') পিডিএফ @elseif ($item->details_type === 'image') ছবি @else বিস্তারিত তথ্য @endif @if ($item->deadline) {{ $isExpired ? 'মেয়াদ শেষ' : \Carbon\Carbon::parse($item->deadline)->format('d M Y') }} @endif
{{-- Title --}}

{{ $item->title }}

{{-- Actions --}}
বিস্তারিত দেখুন @if (in_array($item->details_type, ['pdf', 'image']) && $item->file) ফাইল দেখুন @endif
@empty

কোনো সার্কুলার পাওয়া যায়নি

শীঘ্রই নতুন সার্কুলার ও বিজ্ঞপ্তি যুক্ত হবে।

@endforelse {{-- Shown only when a category filter has zero matches --}}
@endsection @section('script') @endsection