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

23 lines
612 B
PHP
Raw Normal View History

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