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

23 lines
613 B
PHP
Raw Permalink Normal View History

2024-05-05 04:47:49 +00:00
<div class="{{$css}}">
<div class="row">
@php
$Countries = MPCMS::getCountries();
@endphp
@if ($Countries && count($Countries) > 0)
@foreach ($Countries as $Country)
<div class="col-md-3">
<a href="{{site_url($Country->image_thumb)}}" data-fancybox="gallery1">
<img class="img-fluid" src="{{site_url($Country->image_thumb)}}" alt="">
</a>
</div>
@endforeach
@else
Country not added or published.
@endif
</div>
</div>