TanchoToplineCargo/resources/views/shortcodes/companies.blade.php

23 lines
599 B
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
<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>