<div>
    <div class="row">
    @forelse($images as $image)
    <div class="col-md-3 mb-3">
        <div class="card">
            <img src="{{ asset('images/carousel/' . $image->image_path) }}" class="card-img-top" alt="Carousel Image">
            <div class="card-body text-center">
                <button class="btn btn-danger btn-sm" wire:click="confirmDelete({{ $image->id }})">Delete</button>
            </div>
        </div>
    </div>
    @empty
    <div class="col-12 text-center text-muted">No images uploaded yet.</div>
    @endforelse
</div>

</div>
