@extends('layouts.app') @section('body_class', 'admin') @section('header')
DITS Academy
@endsection @section('content')
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif @yield('admin')
{{-- Pop-up when a sponsor has paid: shown on page load and checked every 45 seconds while admin is open. --}} @php($latestSponsor = \App\Models\Sponsorship::unseen()->latest('paid_at')->first()) @endsection @section('footer')@endsection