@extends('layouts.website') @section('content')

Notice board

Announcements

@if ($announcements->isEmpty())

No announcements at the moment.

@else
@foreach ($announcements as $announcement)
@if ($announcement->is_pinned ?? false) Pinned @endif

{{ $announcement->title }}

{{ $announcement->body }}

@endforeach
{{ $announcements->links('website.partials.pagination') }}
@endif
@endsection