@extends('vendor.site-bases.website.layouts.master') @section('title', trans('title.home')) @section('page_title', trans('title.home')) @section('content')

@lang('menu.products')

@foreach ($slides as $item)
{{ $item->title }}

{{ $item->title }}

{!! $item->description !!} @if ($item->link) @endif
@endforeach
@if ($discountedProductsCount > 0)

@lang('site.discounted_products')

@lang('site.all_products') ({{ $discountedProductsCount }})
@foreach ($discountedProducts as $item)
@include('partials.product-item', $item)
@endforeach
@endif @if ($mainPageProductsCount > 0)

@lang('site.required_products')

@lang('site.all_products') ({{ $mainPageProductsCount }})
@endif @if ($centerLeftBanner || $centerTopBanner || $centerBottomLeftBanner || $centerBottomRightBanner)
@if ($centerLeftBanner)
{{ $centerLeftBanner->title }}
@endif
@if ($centerTopBanner) @endif
@if ($centerBottomLeftBanner) @endif @if ($centerBottomRightBanner) @endif
@endif @if ($mainOnlineSaleProductsCount > 0)

@lang('site.online_saled_products')

@lang('site.all_products') ({{ $mainOnlineSaleProductsCount }})
@endif @if ($firstLineCategories->count() > 0)
    {{ $firstLineCategories[0]->title }}
    @foreach ($firstLineCategories as $key => $item)
  • {{ $item->title }}
  • @endforeach
@lang('site.all_products') (0)
@foreach ($firstLineCategories as $key => $item)
@endforeach
@endif @if ($secondLineCategories->count() > 0)
    {{ $secondLineCategories[0]->title }}
    @foreach ($secondLineCategories as $key => $item)
  • {{ $item->title }}
  • @endforeach
@lang('site.all_products') (0)
@foreach ($secondLineCategories as $key => $item)
@endforeach
@endif @if ($blogLeftBanner || $blogRightTopBanner || $blogRightBottomBanner)

@lang('site.blog_banners_title')

@if ($blogLeftBanner)
{{ $blogLeftBanner->title }}
@endif
@if ($blogRightTopBanner) @endif @if ($blogRightBottomBanner) @endif
@endif

@lang('site.products')

@lang('site.all_products') ({{ $productsCount }})
@foreach ($products as $item) @include('partials.product-item', $item) @endforeach
@lang('site.show_more')
@if ($banners->count() > 0)
@foreach ($banners as $item) @endforeach
@endif @if ($brands->count() > 0)

@lang('site.brands')

@foreach ($brands as $item) @endforeach
@endif {{-- --}} @endsection @section('scripts') @endsection @section('scripts') @endsection