<div>
   
<div>
<div class="row">
            @forelse ($facilityPhoto as $photo)
            <div class="col-md-3 mb-4">
                <div class="card border-0 shadow-sm">
                    <img src="{{ asset('/images/facilities/' . $photo->photo_path) }}" class="card-img-top" alt="Photo">
                    <div class="card-body text-center">
                    <button wire:click="confirmDelete({{ $photo->id }})" class="btn btn-sm btn-danger">
                            Delete
                        </button>
                    </div>
                </div>
            </div>
            @empty
            <div class="col-12">
                <p class="text-muted text-center">No photos uploaded yet.</p>
            </div>
            @endforelse
        </div>
</div>

</div>
