@extends('Shop.layout.layout', [
    'title' => __('home.title'),
])

@section('content')
    @include('Shop.Tags.partials.filter')

    @if (!empty($text))
        <div class="row m-0 mb-3">
            <div class="col-12 p-3 green-dark homepage-text" style="font-size: 1.2em;">{!! $text !!}</div>
        </div>
    @endif

    <div class="row">
        <div class="col-12 p-0">
            @foreach ($shelves as $shelve)
                @include('Shop.Homepage.partials.sliderByShelve')
            @endforeach
        </div>
    </div>
@endsection

@include('load.slick')

@push('js')
    <script>
        $(document).ready(function() {
            initSlick();
        });
    </script>
@endpush
