![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/resources/themes/compo/partials/ |
@php $brands = \Shop::getFeaturedBrands(); @endphp @if(!$brands->isEmpty()) <section class="bg-faded p-t-60 p-b-60 m-t-30"> <div class="container"> <h3 class="text-center m-b-30 pb-2">@lang('corals-compo::labels.partial.popular_brands')</h3> <div class="owl-carousel" data-owl-carousel="{ "rtl": @if(\Language::isRTL()){{'true'}}@else {{'false'}}@endif,"nav": false, "dots": false, "loop": true, "autoplay": true, "autoplayTimeout": 4000, "responsive": {"0":{"items":2}, "470":{"items":3}} }"> @foreach($brands as $brand) <a href="{{ url('shop?brand[]='.$brand->slug) }}" title="{{ $brand->name }}"> <img class="d-block opacity-75 m-auto" src="{{ $brand->thumbnail }}" style="max-height: 110px; width: auto;" alt="{{ $brand->name }}"> </a> @endforeach </div> </div> </section> @endif