Retours recettage client
This commit is contained in:
parent
22376d66a0
commit
fecc74110f
10 changed files with 42 additions and 25 deletions
|
|
@ -22,11 +22,10 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.rest-in-game-banner {
|
||||
transform: skew(12deg) translateX(5%);
|
||||
|
||||
>span {
|
||||
>div, >span {
|
||||
transform: skew(-12deg);
|
||||
}
|
||||
}
|
||||
|
|
@ -47,6 +46,10 @@ body {
|
|||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.img-wrapper {
|
||||
aspect-ratio: 4/3;
|
||||
}
|
||||
}
|
||||
|
||||
> footer {
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ p {
|
|||
/* Logo */
|
||||
|
||||
.logo {
|
||||
width: 75px;
|
||||
width: auto;
|
||||
height: 75px;
|
||||
max-height: 75px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
.static-page {
|
||||
h1 {
|
||||
color: $color-quint;
|
||||
color: $color-primary;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h2,h3,h4,h5,h6 {
|
||||
color: $color-quad;
|
||||
color: $color-secondary;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
hr {
|
||||
width: 30%;
|
||||
border-top: 0.2rem solid #{$color-quad};
|
||||
border-top: 0.2rem solid #{$color-secondary};
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ return [
|
|||
// * Image resizer config
|
||||
/**
|
||||
* Format can specifiy to which format save the image
|
||||
* JPEG PNG GIF TIF BMP ICO PSD WebP
|
||||
* JPG PNG GIF TIF BMP ICO PSD WebP
|
||||
* GD ✔️ ✔️ ✔️ - - - - ✔️ *
|
||||
* Imagick ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ *
|
||||
* For WebP support GD driver must be used with PHP 5 >= 5.5.0 or PHP 7
|
||||
|
|
@ -67,6 +67,15 @@ return [
|
|||
'inCanvas' => true,
|
||||
'trim' => ['transparent', null, 10],
|
||||
'format' => 'png'
|
||||
]
|
||||
],
|
||||
'scratch_prize' => [
|
||||
'width' => 570,
|
||||
'height' => 350,
|
||||
'resize' => true,
|
||||
'inCanvas' => true,
|
||||
'keepRatio' => true,
|
||||
'trim' => ['transparent', null, 10],
|
||||
'format' => 'png'
|
||||
],
|
||||
]
|
||||
];
|
||||
|
|
|
|||
|
|
@ -55,13 +55,20 @@
|
|||
<span
|
||||
class="d-flex align-items-center fw-bold text-uppercase fs-5 mx-2">{{ __("Encore\u{00A0}en\u{00A0}jeu\u{00A0}:") }}</span>
|
||||
@if (Arr::has($prizesGlobal, 0))
|
||||
<span class="d-flex justify-content-center">
|
||||
<span class="rounded-pill text-tertiary fw-bold fs-4 d-flex align-items-center my-1 bg-white px-3">
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<div class="img-wrapper position-relative h-100 w-auto">
|
||||
<img class="position-absolute top-50 start-50 translate-middle h-100"
|
||||
src="{{ Arr::get($prizesGlobal, 0)->picture }}"
|
||||
title="{{ Arr::get($prizesGlobal, 0)->picture_title }}"
|
||||
alt="{{ Arr::get($prizesGlobal, 0)->picture_alt }}">
|
||||
</div>
|
||||
<span
|
||||
class="rounded-pill text-tertiary fw-bold fs-4 d-flex align-items-center my-1 ms-2 bg-white px-3">
|
||||
{{ Arr::get($prizesGlobal, 0)->instantWins->where('prize_id', 1)->whereNull('participation_id')->count() ?? 0 }}
|
||||
</span>
|
||||
<span
|
||||
class="fw-bold text-uppercase fs-5 lh-sm d-flex align-items-center mx-2">{{ Arr::get($prizesGlobal, 0)->label }}</span>
|
||||
</span>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -44,7 +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>
|
||||
<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))
|
||||
|
|
@ -168,7 +168,7 @@
|
|||
<div
|
||||
class="d-inline-block text-bg-primary color-white main-rotate carousel-text-pannel mx-md-auto mx-lg-5 p-lg-5 mb-5 overflow-visible">
|
||||
<div class="anti-rotate m-3 p-1">
|
||||
<h3 class="fs-3 text-lg-start text-center">{{ $prizeModel->arg_title }}</h3>
|
||||
<h3 class="fs-3 text-lg-start text-uppercase text-center">{{ $prizeModel->arg_title }}</h3>
|
||||
@if ($prizeModel->arg_subtitle)
|
||||
<h4>{{ $prizeModel->arg_subtitle }}</h4>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<div class="row mb-5">
|
||||
<div class="col">
|
||||
<a class="btn btn-lg btn-primary" data-bs-toggle="tooltip" href="{{ route('fo.participate') }}"
|
||||
title="{{ __('Retenter votre change avec un nouveau code unique') }}">{{ __('Rejouer !') }}</a>
|
||||
title="{{ __('Retenter votre chance avec un nouveau code unique') }}">{{ __('Rejouer !') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -6,13 +6,10 @@
|
|||
alt="{{ __('Votre bon de réduction de :value', ['value' => number_format($discount->face_value / 100, 2, ',')]) }}">
|
||||
</div>
|
||||
<div class="col position-relative g-0 d-flex align-items-center justify-content-center justify-content-md-end">
|
||||
<div class="wide-banner prize-rotate text-bg-primary p-5">
|
||||
<span class="fs-1 anti-rotate d-block">{{ __("Félicitations\u{00A0}!") }}</span>
|
||||
<div class="wide-banner prize-rotate text-bg-primary w-md-75 p-5">
|
||||
<span class="fs-1 anti-rotate d-block text-uppercase">{{ __("Félicitations\u{00A0}!") }}</span>
|
||||
<p class="anti-rotate">
|
||||
{{ __('Vous avez gagné un bon d\'achat de :amount € sur :product_name', [
|
||||
'amount' => number_format($discount->face_value / 100, 2, ','),
|
||||
'product_name' => $discount->valid_on,
|
||||
]) }}
|
||||
{{ __('Vous avez gagné un bon d\'achat de :amount €', ['amount' => number_format($discount->face_value / 100, 2, ',')]) }}
|
||||
<br>
|
||||
</p>
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
'text-bg-primary' => $prizeModel->id % 2 === 1,
|
||||
'text-bg-tertiary' => $prizeModel->id % 2 === 0,
|
||||
])>
|
||||
<span class="fs-1 anti-rotate d-block">{{ __("Félicitations\u{00A0}!") }}</span>
|
||||
<span class="fs-1 anti-rotate d-block text-uppercase">{{ __("Félicitations\u{00A0}!") }}</span>
|
||||
<p class="anti-rotate m-0">
|
||||
{{ __('Vous avez gagné un :model !', [
|
||||
'model' => $prizeModel->label,
|
||||
|
|
@ -28,11 +28,11 @@
|
|||
@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 coordonnées d\'inscription pour recevoir votre lot.') }}
|
||||
{{ __('Un e-mail de confirmation vous a été envoyé à l\'adresse mail indiquée lors de l\'inscription au jeu. Vous recevrez prochainement plus d\'informations concernant votre dotation par mail.') }}
|
||||
@endif
|
||||
</p>
|
||||
<p class="anti-rotate m-0">
|
||||
{{ __('Merci de bien conserver vos tickets de caisse, en tant que société organisatrice, nous nous réservons le droit de vous demander vos preuves d\'achat afin de valider votre dotation.') }}
|
||||
{{ __('Merci de bien conserver vos tickets de caisse, la société organisatrice se réserve le droit de vous les demander afin de valider votre dotation.') }}
|
||||
</p>
|
||||
@if ($settingsGlobal->winning_proof)
|
||||
<a class="anti-rotate btn btn-lg btn-white" href="#{{ $winProofAnchor }}"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
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">
|
||||
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 text-uppercase lh-1 text-white">
|
||||
{{ Arr::get($prizesGlobal, 0)->quantity }}
|
||||
@if (intval(Arr::get($prizesGlobal, 0)->quantity) > 1)
|
||||
|
|
@ -47,6 +47,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
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue