Files
opensem/resources/views/Shop/home.blade.php
Ludovic CANDELLIER 9698ba54d0 fixes
2022-12-22 01:09:11 +01:00

40 lines
763 B
PHP

@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 bg-yellow-light rounded-lg drop-shadow" style="font-size: 1.2em;">{!! $text !!}</div>
</div>
@endif
<div class="row">
<div class="col-12">
@foreach ($shelves as $shelve)
@include('Shop.Homepage.partials.sliderByShelve')
@endforeach
</div>
</div>
@endsection
@include('load.slick')
@push('js')
<script>
$(document).ready(function() {
$('.slider').slick({
lazyLoad: 'ondemand',
slidesToShow: 5,
slidesToScroll: 1,
dots: false,
autoplay: true,
autoplaySpeed: 5000
});
});
</script>
@endpush