This commit is contained in:
ludo
2025-02-15 12:12:42 +01:00
parent d1cc62c9b1
commit 592402a6c1
53 changed files with 1098 additions and 404 deletions

View File

@@ -32,6 +32,7 @@
'prefix' => 'invoices',
'addresses' => $customer['invoice_addresses'],
'with_name' => true,
'route_del' => route(''),
])
</x-card>

View File

@@ -4,7 +4,7 @@
@section('content')
@php
if ($errors->registration) {
if ($errors->registration->all()) {
$classIdent = 'd-none';
$classRegister = '';
} else {

View File

@@ -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

View File

@@ -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">