@extends("Front::Layout.master")
@section('title','جست و جو')
@section('content')

    <div class="alert alert-primary mx-sm-5 mx-2 mt-3" role="alert">
        نتیجه‌ی جست و جو برای : {{request('search')}}
    </div>


    <div class="cards_container_service d-flex flex-wrap justify-content-around marginX">
        @foreach($data as $item)
            <div class="col-md-3 mt-3 col-sm-6 col-12 d-flex justify-content-center">
                <div class="card_slider  swiper-slide border ">
                    <a href="{{route('service.info',$item->slug)}}" class="text-decoration-none">
                        <img class="img img-fluid" src="{{$item->thumb()}}">
                        <div class="slider_title">
                            <p class="font_size_0">{{$item->name}}</p>
                            </p>
                        </div>
                    </a>
                </div>
            </div>
        @endforeach
    </div>
    {{ $data->appends(request()->query())->links() }}


@endsection
