You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/group/SubGroupsGrid/SubGroupsGrid.blade.php

24 lines
937 B
PHTML

<section class='SubGroupsGrid content live-setting' data-live="{{$data->area_name.'_'.$data->part}}">
<div class="{{gfx()['container']}}">
@if($group->children()->count() > 0)
<div>
<h3 class="text-center">
{{__("Sub groups")}}
</h3>
<div class="row">
@foreach($group->children as $subGroup)
<div class="col-md">
<div class="sub-group">
<img src="{{$subGroup->imgUrl()}}" alt="{{$subGroup->name}}" class="img-fluid" loading="lazy">
<h4>
{{$subGroup->name}}
</h4>
</div>
</div>
@endforeach
</div>
</div>
@endif
</div>
</section>