@extends('layouts.admin')

@section('title', 'Add Announcement')

@section('content')
    <section class="dashboard-head">
        <div>
            <span class="eyebrow">Marketing</span>
            <h1>Add Announcement</h1>
        </div>
        <a class="button ghost" href="{{ route('admin.announcements.index') }}">Back</a>
    </section>

    <section class="panel form-panel">
        <form method="POST" action="{{ route('admin.announcements.store') }}" class="admin-form">
            @include('admin.announcements._form')
            <button class="button primary" type="submit">Save announcement</button>
        </form>
    </section>
@endsection
