@extends('layouts.admin')

@section('content')

<div class="mb-4">
    <a href="{{ route('admin.slides.index') }}" class="btn btn-outline-secondary btn-sm rounded-pill mb-2">
        <i class="bi bi-arrow-left me-1"></i> Back to Slides
    </a>
    <h4 class="brand-font text-uppercase text-secondary mb-0">Create Hero Slide</h4>
</div>

<div class="card border-0 shadow-sm rounded-4 p-4 bg-white">
    <form action="{{ route('admin.slides.store') }}" method="POST" enctype="multipart/form-data" data-turbo-frame="admin-content">
        @csrf
        @include('admin.slides._form')
    </form>
</div>

@endsection
