<div class="row align-items-center py-3">
    <div class="col d-flex align-items-center py-2">
        @if (isset($title))
            <h6 class="h2 text-white d-inline-block mb-0">{{ $title }}</h6>
        @endif
        <nav aria-label="breadcrumb" class="d-none d-md-inline-block ml-md-3">
            <ol class="breadcrumb breadcrumb-links breadcrumb-dark">
                <li class="breadcrumb-item">
                    <a href="{{ route('home') }}">
                        <i @class(['fas', 'fa-home'])></i>
                    </a>
                </li>

                {{ $slot }}
            </ol>
        </nav>
    </div>
    @if (isset($buttons))
        <div class="col-auto text-right d-flex py-2">
            {{ $buttons }}
        </div>
    @endif
</div>

@include('alerts.success')
@include('alerts.errors', ['bags' => $bags ?? []])
