TanchoToplineCargo/resources/views/shortcodes/companies.blade.php
2024-05-05 10:32:49 +05:45

23 lines
599 B
PHP

<div class="{{$css}}">
<div class="row">
@php
$Companies = MPCMS::getCompanies();
@endphp
@if ($Companies && count($Companies) > 0)
@foreach ($Companies as $Company)
<div class="col-md-3">
<a href="{{site_url($Company->logo)}}" data-fancybox="gallery1">
<img class="img-fluid" src="{{site_url($Company->logo)}}" alt="">
</a>
</div>
@endforeach
@else
Company not added or published.
@endif
</div>
</div>