@extends('front.app', ['attributes'=>'class=homepage']) @section('meta') @stop @section('container')
@if(!empty($slider) && count($slider))
@foreach($slider as $one_slide) link ? 'href='.$one_slide->link : '' }} class="swiper-slide"> {{ $one_slide->name }} @endforeach
@endif @if($banners_under_slider && $banners_under_slider->children->isNotEmpty())
@foreach($banners_under_slider->children as $one_item) link ? 'href='.$one_item->link : '' }} class="banners-item"> {{ $one_item->name }} @endforeach
@endif @if(!empty($new_goods) && count($new_goods))

{{ ShowLabelById(31) }}

@foreach($new_goods as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif @if(!empty($promo_goods) && count($promo_goods))

{{ ShowLabelById(32) }}

@foreach($promo_goods as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif @if($two_banners_under_sale_goods && $two_banners_under_sale_goods->children->isNotEmpty())
@foreach($two_banners_under_sale_goods->children as $one_item) link ? 'href='.$one_item->link : '' }} class="banners-item"> {{ $one_item->name }} @endforeach
@endif @if(!empty($bestseller_goods) && count($bestseller_goods))

{{ ShowLabelById(33) }}

@foreach($bestseller_goods as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif @if(!empty($brands) && count($brands))

{{ ShowLabelById(34) }}

@foreach($brands as $one_brand) {{ $one_brand->name }} @endforeach
@endif @if(isset($goods_subjects_on_main_page[0]) && !empty($first_subject_items) && count($first_subject_items))

{{ $goods_subjects_on_main_page[0]->name }}

@foreach($first_subject_items as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif @if($banners_under_brands && $banners_under_brands->children->isNotEmpty())
@foreach($banners_under_brands->children as $one_item) link ? 'href='.$one_item->link : '' }} class="banners-item"> {{ $one_item->name }} @endforeach
@endif @if(isset($goods_subjects_on_main_page[1]) && !empty($second_subject_items) && count($second_subject_items))

{{ $goods_subjects_on_main_page[1]->name }}

@foreach($second_subject_items as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif @if(isset($goods_subjects_on_main_page[2]) && !empty($third_subject_items) && count($third_subject_items))

{{ $goods_subjects_on_main_page[2]->name }}

@foreach($third_subject_items as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif @if($banners_bottom && $banners_bottom->children->isNotEmpty())
@foreach($banners_bottom->children as $one_item) link ? 'href='.$one_item->link : '' }} class="banners-item"> {{ $one_item->name }} @endforeach
@endif @if($meta_main_page->body)

{{ ShowLabelById(35) }}

{!! $meta_main_page->body !!}
@endif
@stop