@extends('admin.layouts.base', ['title' => '', 'header' => false])

@section('content')
    <div class="d-flex flex-column h-100">
        <div class="m-auto w-100">
           <div class="container-fluid">
                <div class="text-center">
                    <h1 class="display-1 text-primary">@yield('code', __('Oh no!'))</h1>
                    <h2 class="ff-nfr">@yield('title')</h2>
                    <p>@yield('message')</p>
                    @if ($button ?? true)
                        <div class="mt-4">
                            <a href="{{ url()->previous() }}" role="button" class="btn btn-primary fs-18 ff-nfr px-4 py-2">{{ __('Go Back') }}</a>
                        </div>
                    @endif
                </div>
           </div>
        </div>
    </div>
@endsection
