troisième retours

This commit is contained in:
Alexis Gousseau 2022-10-14 17:11:21 +02:00
parent bdd86c0118
commit 0667b7c792
11 changed files with 40 additions and 19 deletions

View file

@ -1,7 +1,7 @@
@hasSection('breadcrumb')
@if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
{{ Breadcrumbs::render(app()->view->getSections()['breadcrumb'], $brParam ?? null) }}
@endif
@if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
{{ Breadcrumbs::render(app()->view->getSections()['breadcrumb'], $brParam ?? null) }}
@endif
@elseif(Breadcrumbs::exists(request()->route()->getName()))
{{ Breadcrumbs::render(request()->route()->getName()) }}
@endif

View file

@ -1,6 +1,6 @@
@hasSection('breadcrumb')
@if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
{{ Breadcrumbs::view('breadcrumbs::json-ld', app()->view->getSections()['breadcrumb'], $brParam ?? null) }}
{{ Breadcrumbs::view('breadcrumbs::json-ld', app()->view->getSections()['breadcrumb'], $brParam ?? null) }}
@endif
@elseif(Breadcrumbs::exists(request()->route()->getName()))
{{ Breadcrumbs::view('breadcrumbs::json-ld', request()->route()->getName()) }}

View file

@ -3,6 +3,8 @@
@section('title', __('Contactez-nous'))
@section('description', 'Procédure afin de contacter les gérants de la boutique.')
@section('breadcrumb', 'no')
@section('content')
<main class="auth-login d-flex flex-column justify-content-center container">
<h1 class="title-medium font-Barlow-extra-bold text-uppercase text-white text-center">{!! $content->title !!}</h1>

View file

@ -3,6 +3,8 @@
@section('title', __('FAQ'))
@section('description', 'Foire aux questions fréquemment posées.')
@section('breadcrumb', 'no')
@section('content')
<main class="auth-login container d-flex justify-content-center align-items-start">
<div class="row w-100">

View file

@ -37,14 +37,14 @@
<img src="{{ asset("/images/produits/" . $product->picture) }}" class="h-100 mw-100" alt="{{ $product->name }}">
</div>
<div class="card-body d-flex flex-column justify-content-center align-items-center h-lg-50 px-3">
<h5 class="font-Barlow-bold m-2">
<h5 class="font-Barlow-bold m-2 mb-0">
<a class="text-decoration-none text-dark stretched-link" href="{{ route('product', $product->slug) }}">{{ $product->name }}</a>
</h5>
<div class="card-price d-flex justify-content-center align-items-center font-Barlow-bold m-2 mt-0 m-lg-0 my-lg-4">
<div class="card-price d-flex justify-content-center align-items-center font-Barlow-bold m-2 m-lg-0 my-lg-4">
@if ($product->promotions->count())
<span class="card-price-original position-relative me-2">@fmt_currency_without_ttc($product->priceTtc)</span>
@endif
<span class="card-price-new @if ($product->promotions->count()) text-red @endif h3">@fmt_currency_without_ttc($product->discountedPriceTtc) @fmt_sellunit($product->sell_unit)</span>
<span class="card-price-new @if ($product->promotions->count()) text-red @endif h3">@fmt_currency_without_ttc($product->discountedPriceTtc)</span>
</div>
@if ($product->weight_variable)
<p class="fst-italic text-muted">*Prix variable en fonction du poids</p>

View file

@ -141,21 +141,21 @@
:key="productIndex"
class="col-lg-4 card rounded-4 px-0 py-2 p-lg-1 p-xl-3 m-0"
v-bind:class="[!product.availability ? 'card-available-soon' : '']">
<div class="position-relative w-100 h-100 px-4 py-2">
<div class="d-flex flex-row flex-lg-column justify-content-between align-items-center col-md-4 p-0 w-100 h-100 m-0">
<div class="position-relative text-center w-50 w-lg-100 h-lg-50">
<div class="position-relative w-100 h-100 px-4">
<div class="d-flex flex-row flex-lg-column justify-content-between align-items-center w-100 h-100 col-md-4 m-0x py-2 pb-lg-4">
<div class="position-relative text-center w-25 w-lg-100 h-lg-50">
<p class="position-absolute top-50 start-50 translate-middle font-Barlow-bold title-small text-uppercase d-none text-center m-0">
bientôt disponible
</p>
<img class="h-100 mw-100" :src="'/images/produits/' + product.picture" :alt="'Image du produit '+product.name">
<img class="h-lg-100 mw-100" :src="'/images/produits/' + product.picture" :alt="'Image du produit '+product.name">
</div>
<div class="card-body d-flex flex-column justify-content-center justify-content-lg-between align-items-start align-items-lg-center w-75 w-lg-100 h-lg-50 ps-2 px-lg-0">
<h5 class="font-Barlow-bold m-0 m-lg-2">
<div class="card-body d-flex flex-column justify-content-center justify-content-lg-between align-items-start align-items-lg-center w-75 w-lg-100 ps-2 px-lg-0">
<h5 class="font-Barlow-bold m-0 m-lg-2 mb-lg-0">
<a class="text-decoration-none text-dark stretched-link" :href="'/produit/'+product.slug">{{ product.name }}</a>
</h5>
<p class="m-0" v-html="product.description"></p>
<div class="card-text w-100" v-html="product.description"></div>
<div class="card-price d-flex flex-row flex-lg-row-reverse justify-content-center align-items-center font-Barlow-bold m-0 mb-3 m-lg-0 mb-lg-2">
<span class="card-price-new h3" v-bind:class="{'text-red': product.promotion}">{{ currencyFormatter(product.discountedPriceTtc) }} / {{ product.sell_unit }}</span>
<span class="card-price-new h5" v-bind:class="{'text-red': product.promotion}">{{ currencyFormatter(product.discountedPriceTtc) }}</span>
<span v-if="product.promotion != null" class="card-price-original position-relative m-0 ms-2 m-lg-0 me-lg-2">{{ currencyFormatter(product.priceTtc) }}</span>
</div>
<p v-if="product.weight_variable" class="fst-italic text-muted">*Prix variable en fonction du poids</p>

View file

@ -3,6 +3,8 @@
@section('title', __('Mentions légales & CGU'))
@section('description', 'Mentions légales et conditions générales d\'utilisations de la boutique.')
@section('breadcrumb', 'no')
@section('content')
<main class="auth-login container d-flex justify-content-center align-items-center">
<div class="row">

View file

@ -3,6 +3,8 @@
@section('title', __('Politique de confidentialité'))
@section('description', 'Politique de confidentialité de la boutique.')
@section('breadcrumb', 'no')
@section('content')
<main class="auth-login container d-flex justify-content-center align-items-center">
<div class="row">

View file

@ -35,6 +35,21 @@ img {
}
}
&-body {
min-height: 50%;
.fst-italic {
font-size: .8em;
}
}
&-text p {
margin: 0;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
&-activate {
.filtre,
.bkg-medium-grey {

View file

@ -143,10 +143,6 @@
max-width: 100%;
}
&-slide {
padding-bottom: 2rem;
}
&-button {
&-next, &-prev {
width: 2rem;

View file

@ -3,6 +3,8 @@
@section('title', __('CGV'))
@section('description', 'Conditions générales de ventes de la boutique.')
@section('breadcrumb', 'no')
@section('content')
<main class="auth-login container d-flex justify-content-center align-items-center">
<div class="row">