- Add transletable texts

- Fix li bullet bug in actu page
This commit is contained in:
Sebastien Hattry 2022-03-11 12:05:29 +01:00
parent 73b18dfa22
commit 662a48c45e
4 changed files with 24 additions and 23 deletions

View file

@ -4190,7 +4190,7 @@ img{
.product ul.more li p:first-of-type{
font-size:18px;
}
.product ul.more li p::before{
.product ul.more li p:first-of-type::before{
top:50%;
transform:translateY(-50%);
}
@ -4230,7 +4230,7 @@ ul.more li p:first-of-type{
position:relative;
font-size:26px;
}
ul.more li p::before{
ul.more li p:first-of-type::before{
content:"";
position:absolute;
left:-2rem;

View file

@ -83,10 +83,11 @@ img {
p:first-of-type {
font-size: 18px;
}
& p::before {
top: 50%;
transform: translateY(-50%);
&::before {
top: 50%;
transform: translateY(-50%);
}
}
}
.product .img-bloc {
@ -124,16 +125,17 @@ ul.more {
p:first-of-type {
position: relative;
font-size: 26px;
}
& p::before {
content: "";
position: absolute;
left: -2rem;
top: 20px;
width: 10px;
height: 10px;
background-color: $color-blue;
border-radius: 50%;
&::before {
content: "";
position: absolute;
left: -2rem;
top: 20px;
width: 10px;
height: 10px;
background-color: $color-blue;
border-radius: 50%;
}
}
.label img {
width: 100px;

View file

@ -102,7 +102,7 @@
<h3 class="h2 align-center">{{ $post_home->title}}</h3>
<p class="align-justify">{!! clean(nl2br($post_home->text)) !!}</p>
<p class="align-center">
<a href="{{ route($routeprefixer . 'news') }}" title="" class="cta">En savoir plus</a>
<a href="{{ route($routeprefixer . 'news') }}" title="" class="cta">{{ __('En savoir plus')}}</a>
</p>
</div>
</div>

View file

@ -5,7 +5,7 @@
@section('content')
<div class="jumbotron">
<p class="maintitle ttu animate__animated fadeIn animate__slow">Les actualités Doux</p>
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Les actualités Doux')}}</p>
<img class="img-zoom" src="{{ asset('assets/images/news.jpg') }}" alt="Aiguillettes de poulet enrobées d'une chapelure cornflakes Doux sur une planche apéro en bois">
<div class="banner">
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1919.76 59.99">
@ -29,7 +29,7 @@
<div class="container">
<div class="wrapper">
<div class="header-title align-center p-rel">
<h1 class="align-center animate__animated fadeInDown animate__slow"><i class="mascotte"></i>Nos conseils ...</h1>
<h1 class="align-center animate__animated fadeInDown animate__slow"><i class="mascotte"></i>{{ __('Nos conseils ...')}}</h1>
</div>
<div class="is-flex desk-mt50">
<div class="w100 has-chicken-path animate__animated fadeInLeft animate__slow">
@ -60,8 +60,7 @@
<div class="is-flex">
<div class="w50 bckg-illustration p-rel">
<p class="font-size-medium bold">
<span class="color-red">les questions</span>
<br><span class="color-blue">utiles</span>
{!! __('<span class="color-red">les questions</span><br><span class="color-blue">utiles</span>') !!}
</p>
</div>
<div class="w50 align-center reduice-img">
@ -100,9 +99,9 @@
<div class="wrapper align-center">
<div class="header-title sectiontitle align-center p-rel">
<h2 class="align-center punchline-module__title animate__animated fadeInUp animate__slow">Nos nouveautés</h2>
<h2 class="align-center punchline-module__title animate__animated fadeInUp animate__slow">{{ __('Nos nouveautés')}}</h2>
</div>
<p class="h2">Nous travaillons toujours pour améliorer nos recettes et proposer des produits de meilleure qualité</p>
<p class="h2">{{ __('Nous travaillons toujours pour améliorer nos recettes et proposer des produits de meilleure qualité')}}</p>
@if (isset($products_home))
<div id="carrousel2">