Fix title display

This commit is contained in:
Sebastien Hattry 2023-11-02 11:26:10 +01:00
parent 54b3d22d40
commit 7e9292e27e
2 changed files with 15 additions and 12 deletions

View file

@ -36,9 +36,12 @@
.w#{$infix}-100 {
width: 100% !important;
}
.w#{$infix}-xcont {
.w#{$infix}-max {
width: max-content !important;
}
.w#{$infix}-min {
width: min-content !important;
}
.w#{$infix}-fit {
width: fit-content !important;
}

View file

@ -16,17 +16,17 @@
alt="{{ __('Depuis 1987') }}" />
</div>
<div class="col-lg-8 col-xl-6 mt-lg-3 z-1">
<div class="d-lg-inline-block text-center">
<h1 class="position-relative d-lg-inline-block f-sheldon ls-1 my-4">{{ __($staticPageModel->title) }}</h1>
</div>
<div class="text-lg-start w-lg-75 text-center">
<p class="f-rufina fs-5 lh-sm fw-bold">
{!! clean(
'En 1987, trois visionnaires amoureux de la bonne cuisine cherchent à proposer le vrai goût du "fait maison" au plus grand nombre de gastronomes.<br>C\'est ainsi qu\'Agis est né...',
) !!}
<div class="w-lg-min text-center">
<h1 class="position-relative d-lg-inline-block f-sheldon ls-1 my-4">{!! clean(str_replace(' ', '&nbsp;', $staticPageModel->title)) !!}</h1>
<div class="text-lg-start text-center">
<p class="f-rufina fs-5 lh-sm fw-bold">
{!! clean(
'En 1987, trois visionnaires amoureux de la bonne cuisine cherchent à proposer le vrai goût du "fait maison" au plus grand nombre de gastronomes.<br>C\'est ainsi qu\'Agis est né...',
) !!}
</p>
<span class="f-readex-pro highlight black my-2 px-3 text-white">{{ __('Dates clés & innovations majeures') }}</span>
</p>
<span class="f-readex-pro highlight black my-2 px-3 text-white">{{ __('Dates clés & innovations majeures') }}</span>
</div>
</div>
</div>
</div>
@ -291,7 +291,7 @@
<p class="f-rufina fsize-22 fsize-lg-40 fw-bold m-0">{{ __('performance') }}</p>
<p class="f-sheldon fsize-44 fsize-lg-80 ls-2 m-0">{{ __('travail') }}</p>
<p
class="position-absolute start-100 translate-middle-x f-readex-pro fsize-12 fsize-lg-22 fw-bold highlight white rotate-n3 w-xcont mb-lg-0 bottom-0 mb-2 px-3">
class="position-absolute start-100 translate-middle-x f-readex-pro fsize-12 fsize-lg-22 fw-bold highlight white rotate-n3 mb-lg-0 bottom-0 mb-2 w-max px-3">
{{ __('Nos valeurs') }}
</p>
</div>