add words on home/teaser page - #8

This commit is contained in:
Alexis Gousseau 2024-01-29 11:19:15 +01:00
parent e45b435317
commit e351bef53a
3 changed files with 12 additions and 4 deletions

View file

@ -80,6 +80,12 @@
transform: translate(-50%,-12%) scale(.8) rotate(5deg);
}
}
.fs-title {
@include media-breakpoint-up(xxl) {
font-size: 3.4rem !important
}
}
}
#howto {

View file

@ -35,8 +35,8 @@
title="{{ Arr::get($prizesGlobal, 0)->picture_title }}" alt="{{ Arr::get($prizesGlobal, 0)->picture_alt }}">
</div>
<div
class="col-12 col-sm-6 col-lg-5 g-0 py-sm-0 g-sm-2 d-flex justify-content-center align-items-center justify-content-xl-start m-0 pt-2">
<h3 class="fw-bold fs-1 text-uppercase lh-1 text-white">
class="col-12 col-sm-6 col-lg-5 g-0 py-sm-0 g-sm-2 d-flex flex-column justify-content-center align-items-center align-items-xl-start m-0 pt-2">
<h3 class="fw-bold fs-1 fs-title text-uppercase lh-1 mb-xxl-4 mb-2 text-white">
{{ Arr::get($prizesGlobal, 0)->quantity }}
@if (intval(Arr::get($prizesGlobal, 0)->quantity) > 1)
{{ Str::plural(Arr::get($prizesGlobal, 0)->label) }}
@ -44,6 +44,7 @@
{{ Arr::get($prizesGlobal, 0)->label }}
@endif
</h3>
<h4 class="fw-bold fs-2 text-uppercase lh-1 text-white">{{ __('Et des milliers de bon d’achat') }}</h4>
</div>
@endif
{{-- @if (Arr::has($prizesGlobal, 1))

View file

@ -37,8 +37,8 @@
title="{{ Arr::get($prizesGlobal, 0)->picture_title }}" alt="{{ Arr::get($prizesGlobal, 0)->picture_alt }}">
</div>
<div
class="col-12 col-sm-6 col-lg-5 g-0 py-sm-0 g-sm-2 d-flex justify-content-center align-items-center justify-content-xl-start m-0 pt-2">
<h3 class="fw-bold fs-1 text-uppercase lh-1 text-white">
class="col-12 col-sm-6 col-lg-5 g-0 py-sm-0 g-sm-2 d-flex flex-column justify-content-center align-items-center align-items-xl-start m-0 pt-2">
<h3 class="fw-bold fs-1 fs-title text-uppercase lh-1 mb-xxl-4 mb-2 text-white">
{{ Arr::get($prizesGlobal, 0)->quantity }}
@if (intval(Arr::get($prizesGlobal, 0)->quantity) > 1)
{{ Str::plural(Arr::get($prizesGlobal, 0)->label) }}
@ -46,6 +46,7 @@
{{ Arr::get($prizesGlobal, 0)->label }}
@endif
</h3>
<h4 class="fw-bold fs-2 text-uppercase lh-1 text-white">{{ __('Et des milliers de bon d’achat') }}</h4>
</div>
@endif
{{-- @if (Arr::has($prizesGlobal, 1))