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

23 lines
612 B
PHP

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