master_template/resources/views/shortcodes/companies.blade.php
2024-06-10 18:06:58 +05:45

23 lines
598 B
PHP

<div class="{{$css}}">
<div class="row">
@php
$Companies = CCMS::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>