<x-layouts.admin.master title="{{ $title }}">
    <div class="page-container">

        <div class="page-title-head d-flex align-items-sm-center flex-sm-row flex-column gap-2">
            <div class="flex-grow-1">
                <h4 class="fs-18 fw-semibold mb-0">{{ $title }}</h4>
            </div>

            <div class="text-end">
                <x-admin.breadcrumbs :breadcrumbs="$breadcrumbs" />
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title mb-0">Manage and Track All Shipments</h4>
                        <x-admin.card-header-button href="{{ route('admin.shipment.create') }}">Create
                            Shipment</x-admin.card-header-button>
                    </div>
                    <div class="card-body">
                        <x-admin.shipments :shipments="$shipments" />
                    </div><!-- end card-body -->
                </div><!-- end card -->
            </div>
            <!-- end col -->
        </div>
        <!-- end row -->

    </div>
</x-layouts.admin.master>
