mirror of https://github.com/4xmen/xshop.git
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.
20 lines
762 B
PHTML
20 lines
762 B
PHTML
4 days ago
|
<section class='MainCategoriesSlider'>
|
||
|
<div class="{{gfx()['container']}}">
|
||
|
<h1>
|
||
|
{{getSetting($data->area_name.'_'.$data->part.'_title')}}
|
||
|
</h1>
|
||
|
<div id="main-cats">
|
||
|
@foreach(\App\Models\Category::whereNull('parent_id')->limit(10)->get() as $category)
|
||
|
<div class="item slider-content">
|
||
|
<a class="main-category" href="{{$category->webUrl()}}">
|
||
|
<img src="{{$category->imgUrl()}}" alt="{{$category->name}}" title="{{$category->name}}" >
|
||
|
<h4>
|
||
|
{{$category->name}}
|
||
|
</h4>
|
||
|
</a>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|