@if($footer_banner->active_status == $bool_true)
    @if($footer->show_all_pages == 1 || 'web.home' == request()->route()->getName())
        <section class="banners-sec6 pb-4 pt-4">
            <div class="container">
                <div class="row gx-3">
                    @for($i=0;$i<$footer_banner->count_photo;$i++)
                        <div class="col-lg-{{$footer_banner->count_photo == 2 ? ($i == 0 ? '8' : '4') : (12 / $footer_banner->count_photo)}} my-3">
                            <a @if($footer_banner->photos[$i]->link) href="{{$footer_banner->photos[$i]->link}}" @endif class="banner d-block h-100 wow fadeInUp slow" data-wow-delay="0.1s">
                                <img src="{{asset($footer_banner->photos[$i]->image)}}" alt="" class="img-cover rounded-3">
                            </a>
                        </div>
                    @endfor
                </div>
            </div>
        </section>
    @endif
@endif
