<div class="container">
		<div class="row">
			@foreach ($sliders as $item)
                <div class="col-sm-4">
                    <div class="card border-0">
                        <div>
                            @if ($item->photo == "")
                             <img src="{{asset('images\user\slider_tab.png')}}" class='img-fluid' alt="">

                            @else
                             <img src="{{asset($item->photo)}}" class='img-fluid' alt="">

                            @endif
                         </div>
                        <div>
                            <div style="display: flex; justify-content: space-between;padding:10px; ">
                                @if ($item->status == 0)
                                <p class='fs-6 mt-1 fw-bold text-danger'>in-active</p>

                                @else
                                <p class='fs-6 mt-1 fw-bold text-success'>active</p>

                                @endif
                                <p style="cursor: pointer;" class ='delete-slider' data-id = "{{$item->id}}">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">
                                            <g id="Group_12514" data-name="Group 12514" transform="translate(-1211 -340)">
                                                <circle id="Ellipse_597" data-name="Ellipse 597" cx="20" cy="20" r="20" transform="translate(1211 340)" fill="#ff3b3b" opacity="0.1" />
                                                <g id="Icon_feather-delete" data-name="Icon feather-delete" transform="translate(1221.184 348.679)">
                                                    <path id="Path_15433" data-name="Path 15433" d="M14.8,6H6.156L1.5,11.321l4.656,5.321H14.8a1.33,1.33,0,0,0,1.33-1.33V7.33A1.33,1.33,0,0,0,14.8,6Z" fill="none" stroke="#ff3b3b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" />
                                                    <path id="Path_15434" data-name="Path 15434" d="M21.991,13.5,18,17.491" transform="translate(-9.183 -4.174)" fill="none" stroke="#ff3b3b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" />
                                                    <path id="Path_15435" data-name="Path 15435" d="M18,13.5l3.991,3.991" transform="translate(-9.183 -4.174)" fill="none" stroke="#ff3b3b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" /> </g>
                                            </g>
                                        </svg> <span class='px-1 text-danger '>Delete</span>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            @endforeach
		</div>
		<!--the row ended here-->
	</div>
