fixes
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
'prefix' => 'invoices',
|
||||
'addresses' => $customer['invoice_addresses'],
|
||||
'with_name' => true,
|
||||
'route_del' => route(''),
|
||||
])
|
||||
</x-card>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
@section('content')
|
||||
@php
|
||||
if ($errors->registration) {
|
||||
if ($errors->registration->all()) {
|
||||
$classIdent = 'd-none';
|
||||
$classRegister = '';
|
||||
} else {
|
||||
|
||||
@@ -1,39 +1,31 @@
|
||||
@extends('Shop.layout.layout', [
|
||||
'title' => __('home.title'),
|
||||
'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" 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>
|
||||
@include('Shop.Tags.partials.filter')
|
||||
|
||||
@if (!empty($text))
|
||||
<div class="row m-0 mb-3">
|
||||
<div class="col-12 p-3 green-dark" 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() {
|
||||
$('.slider').slick({
|
||||
lazyLoad: 'ondemand',
|
||||
slidesToShow: 5,
|
||||
slidesToScroll: 1,
|
||||
dots: false,
|
||||
autoplay: true,
|
||||
autoplaySpeed: 5000
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
initSlick();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<button type="button" class="btn bg-light green-dark p-0" data-toggle="dropdown">
|
||||
@if (App\Repositories\Shop\Customers::isConnected())
|
||||
<img src="{{ App\Repositories\Shop\Customers::getAvatar() }}" class="img-fluid" title="{{ App\Repositories\Shop\Customers::getName() }}">
|
||||
{!! App\Repositories\Shop\CustomerAvatars::getImg() !!}
|
||||
@else
|
||||
<img src="/img/header/login.svg" width="36px">
|
||||
<img src='/img/header/login.svg' width='36px' alt='login'>
|
||||
@endif
|
||||
|
||||
</button>
|
||||
|
||||
<ul class="dropdown-menu" aria-labelledby="dLabel">
|
||||
<ul class="dropdown-menu" aria-labelledby="Connexion">
|
||||
@if (App\Repositories\Shop\Customers::isConnected())
|
||||
<li class="dropdown-item">
|
||||
<a href="{{ route('Shop.Customers.profile') }}" title="Accèdez à vos factures, remises ..." rel="nofollow">
|
||||
|
||||
Reference in New Issue
Block a user