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
854 B
PHTML

<section class='SubGroupsGrid content'>
<div class="{{gfx()['container']}}">
@if($group->children()->count() > 0)
<div class="px-4">
<h3>
{{__("Sub groups")}}
</h3>
<div class="row">
@foreach($group->children as $subGroup)
<div class="col-md-4">
<div class="sub-group">
<img src="{{$subGroup->imgUrl()}}" alt="{{$subGroup->name}}" class="img-fluid">
<h4>
{{$subGroup->name}}
</h4>
</div>
</div>
@endforeach
</div>
</div>
@endif
</div>
</section>