@extends('layouts.app')
@section('page_title','Announcements')
@section('page_subtitle','Company and HR updates.')
@section('content')
@forelse($announcements as $announcement)<div class="card"><div class="split"><h3>{{ $announcement->title }}</h3><span class="muted small">{{ $announcement->published_at?->format('d M Y') }}</span></div><p>{{ $announcement->body }}</p></div>@empty<div class="card"><div class="empty">No announcements.</div></div>@endforelse<div class="pagination">{{ $announcements->links() }}</div>
@endsection
