diff --git a/sass/pages/_home.scss b/sass/pages/_home.scss index aec0ac2..b0278e0 100644 --- a/sass/pages/_home.scss +++ b/sass/pages/_home.scss @@ -47,14 +47,14 @@ } .carousel-item { - height: 55rem; + min-height: 55rem; @include media-breakpoint-up(sm) { - height: 48rem; + min-height: 48rem; } @include media-breakpoint-up(md) { - height: 40rem; + min-height: 40rem; } } diff --git a/theme.config.php b/theme.config.php index 6e33624..0ade548 100644 --- a/theme.config.php +++ b/theme.config.php @@ -49,15 +49,16 @@ return [ */ 'resizes' => [ 'trimlot1' => [ - 'height' => 700, - 'width' => 560, + 'height' => 600, + 'width' => 400, 'inCanvas' => true, - 'trim' => ['transparent', null, 10], - 'format' => 'png' + 'fit' => true, + 'format' => 'webp' ], 'trimlot2' => [ - 'height' => 476, - 'width' => 355, + 'height' => 400, + 'width' => 400, + 'fit' => true, 'inCanvas' => true, 'trim' => ['transparent', null, 10], 'format' => 'png' diff --git a/views/pages/home.blade.php b/views/pages/home.blade.php index 5aed518..5a0383b 100644 --- a/views/pages/home.blade.php +++ b/views/pages/home.blade.php @@ -25,7 +25,11 @@ class="bg-tertiary fs-3 rounded-pill fw-bold px-3 py-1 text-white">{{ Arr::get($prizesGlobal, 0)->quantity }}
{{ __('Vous avez gagné un :model !', [
- 'model' => $prizeModel->label,
- ]) }}
-
+
{{ __('Vous avez gagné un :model !', [
+ 'model' => $prizeModel->label,
+ ]) }}
+
+ @if ($settingsGlobal->winning_proof)
+ {{ __('Pour recevoir votre cadeau, vous devez envoyer vos preuves d\'achat. Voir modalités ci dessous.') }}
+ @else
+ {{ __('Vous serez prochainement contacté via vos coordonées d\'inscription pour recevoir votre lot.') }}
+ @endif
+