Compare commits

..

28 commits

Author SHA1 Message Date
Vincent BRIDIER
b09faad446 Merge branch 'fix-header-count' into 'main'
fix header counter

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!14
2024-01-24 07:53:35 +00:00
Vincent BRIDIER
608265931a bump ggw version 2024-01-23 10:11:39 +00:00
Vincent BRIDIER
0e51eed6f7 Merge branch 'updated-to-2.2.4' into 'main'
Updated the ggw version to 2.2.4

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!12
2024-01-05 14:25:06 +00:00
Noah Lancien
326a20da91 Updated the ggw version to 2.2.4 2024-01-05 15:24:06 +01:00
Vincent BRIDIER
57f962f671 Bump GGW version 2024-01-05 11:34:31 +00:00
Vincent BRIDIER
0344d1b96e Merge branch 'prizes-plural' into 'main'
Fixed prizes plural in homepage

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!11
2024-01-05 11:09:25 +00:00
Vincent BRIDIER
fedbeec7f7 Merge branch 'issue-11' into 'main'
Replaced 'un' with '1'

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!10
2024-01-05 11:09:09 +00:00
Vincent BRIDIER
b05e95016e Merge branch 'issue-10-participation-wording' into 'main'
Fixed wording in participate page

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!9
2024-01-05 11:08:27 +00:00
Noah Lancien
ca82e0e839 Fixed prizes plural in homepage 2024-01-05 11:18:11 +01:00
Noah Lancien
abb05ff30a Replaced 'un' with '1' 2024-01-05 10:58:41 +01:00
Noah Lancien
6a95f57aec Fixed wording in participate page 2024-01-05 10:53:05 +01:00
Vincent BRIDIER
c52dae05c3 Merge branch 'update-version-in-config' into 'main'
Updated version in config file

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!8
2024-01-04 15:26:25 +00:00
Noah Lancien
c4b7fb5f55 Updated version in config file 2024-01-04 15:44:21 +01:00
Vincent BRIDIER
9aab585d87 Merge branch 'replace-le-gaulois' into 'main'
Replaced 'Le Gaulois' brand name with 'Tregalette'

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!7
2024-01-04 13:55:40 +00:00
Vincent BRIDIER
f2d44decd0 Merge branch 'issue-4' into 'main'
Updated end-game text

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!6
2024-01-04 13:53:12 +00:00
noah.lancien
6c529c6241 Updated end-game text 2024-01-04 13:53:11 +00:00
Noah Lancien
c78e026f35 Replaced le gaulois contact link with tregalette 2024-01-04 14:53:08 +01:00
Noah Lancien
ab4230bd88 Replaced 'Le Gaulois' brand name with 'Tregalette' 2024-01-04 14:47:04 +01:00
Vincent BRIDIER
9b8ef748ac Merge branch 'issue-2' into 'main'
Added a message when discounts are activated

Closes #2

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!5
2024-01-04 13:43:37 +00:00
Vincent BRIDIER
9dd8b707ec Merge branch 'issue-5' into 'main'
Updated game wording

Closes #5

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!4
2024-01-04 13:43:07 +00:00
Vincent BRIDIER
d935277267 Merge branch 'issue-6' into 'main'
Added a sentence to the winning message

Closes #6

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!3
2024-01-04 13:42:21 +00:00
Vincent BRIDIER
6ec8d4ff3b Merge branch 'issue-3' into 'main'
Homepage prizes are now displayed in 2 lines with 2 prizes/line

Closes #3

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!2
2024-01-04 13:39:00 +00:00
Vincent BRIDIER
72ddaf85ee Merge branch 'issue-1' into 'main'
Increased prize strip font size

Closes #1

See merge request ldc-web/projets/gen-game-web-themes/regalette/chandleur/chandleur-2024!1
2024-01-04 13:38:11 +00:00
Noah Lancien
7d81796dac Added a message when discounts are activated 2024-01-04 12:33:20 +01:00
Noah Lancien
19f8a8f4c9 Updated game wording 2024-01-04 12:26:13 +01:00
Noah Lancien
2d54dd1324 Added a sentence to the winning message 2024-01-04 12:23:55 +01:00
Noah Lancien
6363b3d14b Homepage prizes are now displayed in 2 lines with 2 prizes/line 2024-01-04 12:19:23 +01:00
Noah Lancien
558b1f6336 Increased prize strip font size 2024-01-04 12:11:58 +01:00
10 changed files with 28 additions and 18 deletions

View file

@ -2,7 +2,7 @@
return [
// * GGW version
'version' => '2.0.0',
'version' => '2.2.6',
// * Theme name
'name' => 'chandleur-2024',
// * Picture BO validation sizes

View file

@ -11,6 +11,6 @@
{{ __('L\'équipe :game_name .', ['game_name' => Str::ucfirst($game_name)]) }}
{{ __('Si vous avez des questions, n\'hésitez pas à nous contacter via notre [formulaire de contact](:url).', [
'url' => 'https://www.legaulois.fr/contactez-nous'
'url' => 'https://www.tregalette.bzh/contact'
]) }}
</x-mail::message>

View file

@ -11,6 +11,6 @@
{{ __('L\'équipe :game_name .', ['game_name' => Str::ucfirst($game_name)]) }}
{{ __('Si vous avez des questions, n\'hésitez pas à nous contacter via notre [formulaire de contact](:url).', [
'url' => 'https://www.legaulois.fr/contactez-nous'
'url' => 'https://www.tregalette.bzh/contact'
]) }}
</x-mail::message>

View file

@ -20,6 +20,6 @@
{{ __('L\'équipe :game_name .', ['game_name' => Str::ucfirst($game_name)]) }}
{{ __('Si vous avez des questions, n\'hésitez pas à nous contacter via notre [formulaire de contact](:url).', [
'url' => 'https://www.legaulois.fr/contactez-nous'
'url' => 'https://www.tregalette.bzh/contact'
]) }}
</x-mail::message>

View file

@ -13,6 +13,6 @@
{{ __('L\'équipe :game_name .', ['game_name' => Str::ucfirst($game_name)]) }}
{{ __('Si vous avez des questions, n\'hésitez pas à nous contacter via notre [formulaire de contact](:url).', [
'url' => 'https://www.legaulois.fr/contactez-nous'
'url' => 'https://www.tregalette.bzh/contact'
]) }}
</x-mail::message>

View file

@ -11,7 +11,10 @@
<div class="col">
<p class="fs-3">
{{ __("Le jeu est terminé\u{00A0}") }}<br>
{{ __("Merci à tous pour votre participation\u{00A0}!") }}
{{ __("Suzette revient très prochainement avec un nouveau jeu \u{1F60A}.") }}<br>
{{ __("En attendant n'hésitez pas à découvrir nos produits TRE GALETTE et notre Klub : ") }}
<a href="{{ $settingsGlobal->redirect_close }}"
target="_blank">{{ Str::ucfirst(Str::of(parse_url($settingsGlobal->redirect_close, \PHP_URL_HOST))->explode('.')->take(-2)->implode('.')) }}</a>
</p>
</div>
</div>

View file

@ -21,22 +21,18 @@
<div class="container-fluid text-bg-tertiary d-inline-block">
<div class="row">
<div class="col">
<h2 class="text-uppercase text-primary fs-2 fw-bold ms-xl-5 text-center">{{ __('Jouez et tentez de gagner') }}</h2>
<h2 class="text-uppercase text-primary fs-1 fw-bold ms-xl-5 text-center">{{ __('Jouez et tentez de gagner') }}</h2>
</div>
</div>
@if (collect($prizesGlobal)->count())
<div class="row">
@foreach ($prizesGlobal as $prizeModel)
<div class="col-12 col-sm d-flex flex-column align-items-center">
<div class="col-12 col-sm-6 d-flex flex-column align-items-center mb-3">
<div class="text-primary d-flex justify-content-center justify-content-xl-start">
<h3 class="fw-bold fs-3 text-uppercase m-0 text-center">
<h3 class="fw-bold fs-2 text-uppercase m-0 text-center">
<span class="px-3">{{ $prizeModel->quantity }}</span>
<span>
@if (intval($prizeModel->quantity) > 1)
{{ Str::plural($prizeModel->label) }}
@else
{{ $prizeModel->label }}
@endif
{{ $prizeModel->label }}
</span>
</h3>
</div>
@ -46,6 +42,15 @@
</div>
</div>
@endforeach
@if ($settingsGlobal->discounts_activated)
<div class="col-12 col-sm d-flex flex-column align-items-center">
<div class="text-primary d-flex justify-content-center justify-content-xl-start">
<h3 class="fw-bold fs-3 text-uppercase m-0 text-center">
{{ Str::upper(__('Des milliers de bons de réduction')) }}
</h3>
</div>
</div>
@endif
</div>
@endif
</div>

View file

@ -17,11 +17,11 @@
<div class="row mb-5">
<div class="col position-relative">
<p class="fs-4 mb-5 text-center">
{{ __('Pour participer au jeu, munissez-vous du sticker présent sur les produits Le Gaulois participant à l\'opération.') }}
{{ __('Pour participer au jeu, munissez-vous du sticker présent sur les produits Tre galette participants à l\'opération.') }}
</p>
<p class="fs-4 mb-5 text-center">
<span class="text-decoration-underline">{{ __('Attention') }} :</span>&nbsp;{!! __(
':strong en cas de gain du coffret Wonderbox,:endStrong gardez précieusement :strong le sticker utilisé ainsi que votre ticket de caisse. :endStrong',
':strong en cas de gain,:endStrong gardez précieusement :strong le sticker utilisé ainsi que votre ticket de caisse. :endStrong',
[
'strong' => '<strong>',
'endStrong' => '</strong>',

View file

@ -1,7 +1,7 @@
<section class="container pb-5 pt-5 text-center" id="{{ $sectionId }}">
<div class="row mb-3 mt-5">
<div class="col">
<h1 class="text-primary text-uppercase fw-bold">{{ __('Lancez la roue et découvrez votre gain') }}</h1>
<h1 class="text-primary text-uppercase fw-bold">{{ __('Grattez et découvrez votre gain') }}</h1>
</div>
</div>
<div class="row mb-5">

View file

@ -21,7 +21,7 @@
])>
<span class="fs-1 anti-rotate d-block">{{ __("Félicitations\u{00A0}!") }}</span>
<p class="anti-rotate">
{{ __('Vous avez gagné un :model !', [
{{ __('Vous avez gagné 1 :model !', [
'model' => $prizeModel->label,
]) }}
<br>
@ -29,6 +29,8 @@
{{ __('Pour recevoir votre cadeau, vous devez envoyer vos preuves d\'achat. Voir modalités ci dessous.') }}
@else
{{ __('Vous serez prochainement contacté via vos coordonnées d\'inscription pour recevoir votre lot.') }}
<br>
{{ __('Conservez bien votre ticket de caisse, nous pourrons vous le demander.') }}
@endif
</p>
@if ($settingsGlobal->winning_proof)