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

23 lines
598 B
PHP
Raw Permalink Normal View History

2024-06-10 12:21:58 +00:00
<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>