front tweaks for rich edited texts

This commit is contained in:
Olivier Legat 2022-02-01 11:19:34 +01:00
parent 9be587844d
commit a0d1bac8a0
2 changed files with 8 additions and 8 deletions

View file

@ -38,9 +38,9 @@
<img src="{{ asset($encart_food->picture) }}" alt="{{ $encart_food->alt_text_picture }}">
</div>
<div class="w50">
<p class="align-justify animate__animated fadeInRight animate__slow">
{{ $encart_food->text}}
</p>
<div class="align-justify animate__animated fadeInRight animate__slow">
{!! $encart_food->text !!}
</div>
<a href="{{ route('wasup') }}/#notre-histoire" class="cta">En savoir plus</a>
</div>
</div>

View file

@ -51,12 +51,12 @@
<img src="{{ asset($encart_home->picture) }}" alt="{{ $encart_home->alt_text_picture}}" />
</div>
<div class="w50">
<h3 class="color-yellow">Notre Histoire</h3>
<p class="align-justify">
<h3 class="color-yellow">{{ __('Notre Histoire') }}</h3>
<div class="align-justify">
{!! clean(nl2br($encart_home->text)) !!}
</p>
</div>
<p class="smrt-align-center">
<a href="{{ route('wasup') }}/#notre-histoire" class="cta">En savoir plus</a>
<a href="{{ route('wasup') }}/#notre-histoire" class="cta">{{ __('En savoir plus') }}</a>
</p>
</div>
</div>
@ -105,4 +105,4 @@
</div>
</div>
@endif
@endsection
@endsection