@extends('surface.app') @section('head') {{ optional($spec_notice->first())->title ?? 'বিজ্ঞপ্তি' }} - {{ $site_info->name ?? '' }} @endsection @section('content') @php $notice = $spec_notice->first(); $categories = [ 'result' => ['label' => 'ফলাফল', 'icon' => 'fa-award'], 'circular' => ['label' => 'সার্কুলার', 'icon' => 'fa-bullhorn'], 'application' => ['label' => 'আবেদন', 'icon' => 'fa-file-signature'], 'other' => ['label' => 'অন্যান্য', 'icon' => 'fa-layer-group'], ]; $isExpired = $notice && $notice->deadline && \Carbon\Carbon::parse($notice->deadline)->isPast(); @endphp
{{-- ── BREADCRUMB ── --}} @if (!$notice) {{-- ── NOT FOUND ── --}}

নোটিশটি খুঁজে পাওয়া যায়নি

এটি মুছে ফেলা হয়ে থাকতে পারে অথবা লিংকটি সঠিক নয়।

সকল নোটিশ দেখুন
@else
{{-- Decorative circles --}}
{{-- Badges --}}
{{ $categories[$notice->notice_type]['label'] ?? ucfirst($notice->notice_type) }} @if ($notice->details_type === 'pdf') পিডিএফ @elseif ($notice->details_type === 'image') ছবি @else বিস্তারিত তথ্য @endif @if ($notice->deadline) {{ $isExpired ? 'মেয়াদ শেষ' : \Carbon\Carbon::parse($notice->deadline)->format('d M Y') }} @endif
{{-- Title --}}

{{ $notice->title }}

{{-- Content --}}
@if ($notice->details_type === 'pdf') @if ($notice->file)

সংযুক্ত পিডিএফ ফাইল

বিস্তারিত তথ্যের জন্য পিডিএফটি দেখুন

পিডিএফ দেখুন
@else

কোনো পিডিএফ যুক্ত করা হয়নি।

@endif @elseif ($notice->details_type === 'image') @if ($notice->file) @else

কোনো ছবি যুক্ত করা হয়নি।

@endif @else
{!! $notice->detailed_text !!}
@endif
{{-- Special note --}} @if ($notice->special_note)

বিশেষ দ্রষ্টব্য

{{ $notice->special_note }}

@endif
{{-- Meta --}}
প্রকাশিত: {{ $notice->created_at->format('d M Y') }} @if ($notice->updated_at && $notice->updated_at->ne($notice->created_at)) হালনাগাদ: {{ $notice->updated_at->format('d M Y') }} @endif
@endif
@endsection @section('script') @endsection