) => {
+ app.config.globalProperties.window = window;
+ app.config.globalProperties.document = document;
+ };
+
+ // Register components
+ ///
+ const vues = import.meta.glob("./../components/*.vue") as Record<
+ string,
+ () => Promise<{ default: Component }>
+ >;
+ for (const vueCptName in vues) {
+ const vueCptPromise = vues[vueCptName];
+ let htmlKey = vueCptName.split("/").pop();
+ if (!htmlKey) {
+ throw new Error(`Cannot load ${vueCptName}`);
+ }
+ htmlKey = htmlKey
+ .split(".")[0]
+ .replace(/\.?([A-Z])/g, function (x, y) {
+ return "-" + y.toLowerCase();
+ })
+ .replace(/^-/, "")
+ .replace("-component", "");
+
+ const el = document.getElementById(htmlKey),
+ elGroup = document.getElementsByClassName(htmlKey);
+ // * Init using ID
+ if (el) {
+ vueCptPromise().then((vueParsedFile) => {
+ const app = createApp(vueParsedFile.default, {
+ json: el.dataset.json ?? {},
+ });
+ setupApp(app);
+ app.mount(el);
+ });
+ }
+ // * Init Using class
+ for (const grpEl of elGroup) {
+ // * Hack to prevent loop weirdness
+ vueCptPromise().then((vueParsedFile) => {
+ setTimeout(() => {
+ const app = createApp(vueParsedFile.default, {
+ json: (grpEl as HTMLElement).dataset.json ?? {},
+ });
+ setupApp(app);
+ app.mount(grpEl);
+ }, 500);
+ });
+ }
+ }
+});
diff --git a/views/auth/login.blade.php b/views/auth/login.blade.php
new file mode 100644
index 0000000..b694992
--- /dev/null
+++ b/views/auth/login.blade.php
@@ -0,0 +1,104 @@
+@extends('theme::layout')
+
+@section('title', __('Connexion'))
+@section('description', __('Connexion'))
+
+@section('no-flash', true)
+
+@section('content')
+
+ @error('email')
+
+
+
+ {{ implode(',', $errors->get('email')) }}
+
+
+
+
+ @enderror
+
+
+
{{ __('Je m\'inscris') }}
+
{{ __('Pour participer et tenter votre chance, inscrivez-vous !') }}
+
{{ __('Inscription') }}
+
+
+
+
+
+
{{ __('Je me connecte') }}
+
+ {{ __('Si vous possédez déjà un compte Club :company, vous pouvez utiliser les mêmes identifiants.', [
+ 'company' => $settingsGlobal->company,
+ ]) }}
+
+
+
+
+
+@endsection
diff --git a/views/auth/partials/form-address-info.blade.php b/views/auth/partials/form-address-info.blade.php
new file mode 100644
index 0000000..147a66d
--- /dev/null
+++ b/views/auth/partials/form-address-info.blade.php
@@ -0,0 +1,38 @@
+
+ {{ __('Vos coordonnées') }}
+
+ {{-- ADDRESS --}}
+
+
+ @include('theme::auth.partials.inputs.address', ['required' => true])
+
+
+
+ {{-- ADDRESS2 --}}
+
+
+ @include('theme::auth.partials.inputs.address2')
+
+
+
+ {{-- CITY --}}
+
+
+ @include('theme::auth.partials.inputs.city', ['required' => true])
+
+
+
+ {{-- POSTCODE --}}
+
+
+ @include('theme::auth.partials.inputs.postal_code', ['required' => true])
+
+
+
+ {{-- COUNTRY --}}
+
+
+ @include('theme::auth.partials.inputs.country', ['required' => true])
+
+
+
diff --git a/views/auth/partials/form-personal-info.blade.php b/views/auth/partials/form-personal-info.blade.php
new file mode 100644
index 0000000..a281857
--- /dev/null
+++ b/views/auth/partials/form-personal-info.blade.php
@@ -0,0 +1,26 @@
+
+ {{ __('Votre profil') }}
+
+
+ {{-- FIRST_NAME --}}
+
+
+ @include('theme::auth.partials.inputs.first_name', ['required' => true])
+
+
+
+ {{-- LAST NAME --}}
+
+
+ @include('theme::auth.partials.inputs.last_name', ['required' => true])
+
+
+
+ {{-- BIRTH_DATE --}}
+
+
+ @include('theme::auth.partials.inputs.birth_date', ['required' => true])
+
+
+
+
diff --git a/views/auth/partials/form-security-info.blade.php b/views/auth/partials/form-security-info.blade.php
new file mode 100644
index 0000000..05a29e4
--- /dev/null
+++ b/views/auth/partials/form-security-info.blade.php
@@ -0,0 +1,28 @@
+
+ {{ __('Vos identifiants') }}
+
+
+ {{-- EMAIL --}}
+
+
+ @include('theme::auth.partials.inputs.email', ['required' => true])
+
+
+
+ {{-- PASSWORD --}}
+
+
+ @include('theme::auth.partials.inputs.password', ['required' => true])
+
+
+
+ {{-- PASSWORD CONFIRMATION --}}
+
+
+ @include('theme::auth.partials.inputs.password_confirmation', ['required' => true])
+
+
+
+ @include('theme::auth.password-min-strength')
+
+
diff --git a/views/auth/partials/inputs/address.blade.php b/views/auth/partials/inputs/address.blade.php
new file mode 100644
index 0000000..fb1c433
--- /dev/null
+++ b/views/auth/partials/inputs/address.blade.php
@@ -0,0 +1,18 @@
+
diff --git a/views/auth/partials/inputs/address2.blade.php b/views/auth/partials/inputs/address2.blade.php
new file mode 100644
index 0000000..f13fb73
--- /dev/null
+++ b/views/auth/partials/inputs/address2.blade.php
@@ -0,0 +1,18 @@
+
diff --git a/views/auth/partials/inputs/birth_date.blade.php b/views/auth/partials/inputs/birth_date.blade.php
new file mode 100644
index 0000000..025643c
--- /dev/null
+++ b/views/auth/partials/inputs/birth_date.blade.php
@@ -0,0 +1,17 @@
+
diff --git a/views/auth/partials/inputs/city.blade.php b/views/auth/partials/inputs/city.blade.php
new file mode 100644
index 0000000..f05e80e
--- /dev/null
+++ b/views/auth/partials/inputs/city.blade.php
@@ -0,0 +1,16 @@
+
diff --git a/views/auth/partials/inputs/country.blade.php b/views/auth/partials/inputs/country.blade.php
new file mode 100644
index 0000000..d99b7bf
--- /dev/null
+++ b/views/auth/partials/inputs/country.blade.php
@@ -0,0 +1,37 @@
+
diff --git a/views/auth/partials/inputs/email.blade.php b/views/auth/partials/inputs/email.blade.php
new file mode 100644
index 0000000..8962130
--- /dev/null
+++ b/views/auth/partials/inputs/email.blade.php
@@ -0,0 +1,16 @@
+
diff --git a/views/auth/partials/inputs/first_name.blade.php b/views/auth/partials/inputs/first_name.blade.php
new file mode 100644
index 0000000..5bf7cb6
--- /dev/null
+++ b/views/auth/partials/inputs/first_name.blade.php
@@ -0,0 +1,16 @@
+
diff --git a/views/auth/partials/inputs/last_name.blade.php b/views/auth/partials/inputs/last_name.blade.php
new file mode 100644
index 0000000..0974cf3
--- /dev/null
+++ b/views/auth/partials/inputs/last_name.blade.php
@@ -0,0 +1,16 @@
+
diff --git a/views/auth/partials/inputs/password.blade.php b/views/auth/partials/inputs/password.blade.php
new file mode 100644
index 0000000..5440be4
--- /dev/null
+++ b/views/auth/partials/inputs/password.blade.php
@@ -0,0 +1,21 @@
+
diff --git a/views/auth/partials/inputs/password_confirmation.blade.php b/views/auth/partials/inputs/password_confirmation.blade.php
new file mode 100644
index 0000000..6cc38a5
--- /dev/null
+++ b/views/auth/partials/inputs/password_confirmation.blade.php
@@ -0,0 +1,21 @@
+
diff --git a/views/auth/partials/inputs/phone.blade.php b/views/auth/partials/inputs/phone.blade.php
new file mode 100644
index 0000000..92f7b52
--- /dev/null
+++ b/views/auth/partials/inputs/phone.blade.php
@@ -0,0 +1,18 @@
+
diff --git a/views/auth/partials/inputs/postal_code.blade.php b/views/auth/partials/inputs/postal_code.blade.php
new file mode 100644
index 0000000..c43687e
--- /dev/null
+++ b/views/auth/partials/inputs/postal_code.blade.php
@@ -0,0 +1,18 @@
+
diff --git a/views/auth/password-min-strength.blade.php b/views/auth/password-min-strength.blade.php
new file mode 100644
index 0000000..de08693
--- /dev/null
+++ b/views/auth/password-min-strength.blade.php
@@ -0,0 +1,13 @@
+
+
+
+ {!! nl2br(
+ clean(
+ __(
+ "Le mot de passe doit avoir une longueur de 8 caractères minimum,\n doit contenir une lettre majuscule et une lettre minucule,\n doit contenir un caractère spécial comme une virgule par exemple,\n doit contenir un chiffre.",
+ ),
+ ),
+ ) !!}
+
+
+
diff --git a/views/auth/passwords/confirm.blade.php b/views/auth/passwords/confirm.blade.php
new file mode 100644
index 0000000..442c203
--- /dev/null
+++ b/views/auth/passwords/confirm.blade.php
@@ -0,0 +1,53 @@
+@extends('theme::layout')
+
+@section('title', __('Confirmer son adresse e-mail'))
+@section('description', __('Confirmer son adresse e-mail'))
+
+@section('content')
+
+
+
+
+
+
+
+ {{ __('Please confirm your password before continuing.') }}
+
+
+
+
+
+
+
+@endsection
diff --git a/views/auth/passwords/email.blade.php b/views/auth/passwords/email.blade.php
new file mode 100644
index 0000000..ac51509
--- /dev/null
+++ b/views/auth/passwords/email.blade.php
@@ -0,0 +1,44 @@
+@extends('theme::layout')
+
+@section('title', __('Réinitialiser son mot de passe'))
+@section('description', __('Réinitialiser son mot de passe'))
+
+@section('content')
+
+
+
+
{{ __('Reset Password') }}
+
+
+
+
+@endsection
diff --git a/views/auth/passwords/reset.blade.php b/views/auth/passwords/reset.blade.php
new file mode 100644
index 0000000..7aacea6
--- /dev/null
+++ b/views/auth/passwords/reset.blade.php
@@ -0,0 +1,85 @@
+@extends('theme::layout')
+
+@section('title', __('Réinitialiser son mot de passe'))
+@section('description', __('Réinitialiser son mot de passe'))
+
+@section('content')
+
+
+
+
{{ __('Reset Password') }}
+
+
+
+
+@endsection
diff --git a/views/auth/profil-verify.blade.php b/views/auth/profil-verify.blade.php
new file mode 100644
index 0000000..462ccd3
--- /dev/null
+++ b/views/auth/profil-verify.blade.php
@@ -0,0 +1,141 @@
+@extends('theme::layout')
+
+@section('title', __('Vérifier mes informations'))
+@section('description', __('Vérifier mes informations pour participer au jeu'))
+
+@section('content')
+
+
+
+
+ {{ __('Mon compte du club :company', ['company' => $settingsGlobal->company]) }}
+
+
+
+
+
+@endsection
diff --git a/views/auth/register.blade.php b/views/auth/register.blade.php
new file mode 100644
index 0000000..0ca46ec
--- /dev/null
+++ b/views/auth/register.blade.php
@@ -0,0 +1,93 @@
+@extends('theme::layout')
+
+@section('title', __('Créer un compte'))
+@section('description', __('Créer un compte'))
+
+@section('content')
+
+
+
+
+ {{ __('S\'inscrire au club :company', ['company' => $settingsGlobal->company]) }}
+
+
+
+
+
+@endsection
diff --git a/views/auth/verify.blade.php b/views/auth/verify.blade.php
new file mode 100644
index 0000000..0483e6c
--- /dev/null
+++ b/views/auth/verify.blade.php
@@ -0,0 +1,30 @@
+@extends('theme::layout')
+
+@section('title', __('Vérifier son adresse e-mail'))
+@section('description', __('Vérifier son adresse e-mail'))
+
+@section('content')
+
+
+
+
{{ __('Verify Your Email Address') }}
+
+
+
+
+ @if (session('resent'))
+
+ {{ __('A fresh verification link has been sent to your email address.') }}
+
+ @endif
+
+ {{ __('Before proceeding, please check your email for a verification link.') }}
+ {{ __('If you did not receive the email') }},
+
+
+
+
+@endsection
diff --git a/views/layout-teaser.blade.php b/views/layout-teaser.blade.php
new file mode 100644
index 0000000..5236184
--- /dev/null
+++ b/views/layout-teaser.blade.php
@@ -0,0 +1,25 @@
+
+
+
+@include('theme::layouts.head')
+
+
+
+ @include('theme::layouts.teaser.header')
+
+
+
+ @yield('content')
+
+
+
+ @include('theme::layouts.teaser.footer')
+
+
+ @include('back::modules.script-routes')
+ @include('theme::vendor.cn-cookies')
+ @vite(['resources/theme/mounted/ts/fo.ts'])
+ @stack('scripts')
+
+
+
diff --git a/views/layout.blade.php b/views/layout.blade.php
new file mode 100644
index 0000000..5c44f26
--- /dev/null
+++ b/views/layout.blade.php
@@ -0,0 +1,35 @@
+
+
+
+@include('theme::layouts.head')
+
+
+
+ @include('theme::layouts.header')
+
+
+ @sectionMissing('no-flash')
+
+
+
+ @include('theme::modules.flash-messages')
+
+
+
+ @endif
+
+
+ @yield('content')
+
+
+
+ @include('theme::layouts.footer')
+
+
+ @include('back::modules.script-routes')
+ @include('theme::vendor.cn-cookies')
+ @vite(['resources/theme/mounted/ts/fo.ts'])
+ @stack('scripts')
+
+
+
diff --git a/views/layouts/footer-links.blade.php b/views/layouts/footer-links.blade.php
new file mode 100644
index 0000000..75e2ac7
--- /dev/null
+++ b/views/layouts/footer-links.blade.php
@@ -0,0 +1,21 @@
+{{-- External LINKS --}}
+
diff --git a/views/layouts/footer.blade.php b/views/layouts/footer.blade.php
new file mode 100644
index 0000000..b4f93ae
--- /dev/null
+++ b/views/layouts/footer.blade.php
@@ -0,0 +1,45 @@
+
+
+ @include('theme::layouts.footer-links')
+
+ {{-- LINKS --}}
+
+
+
+
+
+@include('theme::layouts.up-arrow')
diff --git a/views/layouts/head.blade.php b/views/layouts/head.blade.php
new file mode 100644
index 0000000..8f62f4e
--- /dev/null
+++ b/views/layouts/head.blade.php
@@ -0,0 +1,54 @@
+{{-- Meta --}}
+
+{{-- blade-formatter-disable --}}
+@hasSection('metaIndex')
+
+@else
+
+@endif
+{{-- blade-formatter-enable --}}
+
+
+
+
+{{-- Open Graph --}}
+{{-- blade-formatter-disable-next-line --}}
+
+
+
+
+
+
+
+{{-- Favicon --}}
+{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
+
+
+
+
+
+
+
+
+{{-- Others --}}
+{{-- blade-formatter-disable-next-line --}}
+{{ $settingsGlobal->name ?? config('app.name') }}@hasSection('title') - @yield('title')@endif
+
+{{-- blade-formatter-disable --}}
+@hasSection('canonical')
+
+@else
+
+@endif
+{{-- blade-formatter-enable --}}
+
+{{-- STYLES --}}
+@vite(['resources/theme/mounted/sass/fo.scss'])
+@stack('styles')
+
+{{-- DEBUG --}}
+@if (config('app.debug'))
+
+@endif
diff --git a/views/layouts/header-logo.blade.php b/views/layouts/header-logo.blade.php
new file mode 100644
index 0000000..68b93b3
--- /dev/null
+++ b/views/layouts/header-logo.blade.php
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+ @if (!request()->routeis('fo.teaser') and !request()->routeis('re7.teaser'))
+
+
+
+
+
+ @endif
+
+
diff --git a/views/layouts/header.blade.php b/views/layouts/header.blade.php
new file mode 100644
index 0000000..0215e32
--- /dev/null
+++ b/views/layouts/header.blade.php
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+ @include('theme::layouts.header-logo')
+
+ @if (collect($prizesGlobal)->count())
+
+
+ {{ __("Encore en jeu\u{00A0}:") }}
+ @if (Arr::has($prizesGlobal, 0))
+
+ {{ Arr::get($prizesGlobal, 0)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instantWins)->where('won', true))->count() ?? 0) }}
+ {!! clean(nl2br(__("Wonderbox \n loisirs"))) !!}
+
+ @endif
+ @if (Arr::has($prizesGlobal, 1))
+
+ {{ Arr::get($prizesGlobal, 1)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instantWins)->where('won', true))->count() ?? 0) }}
+ {!! clean(nl2br(__("Wonderbox \n Happy Day"))) !!}
+
+ @endif
+
+
+ @endif
+
+
+
+
+
+
diff --git a/views/layouts/teaser/footer.blade.php b/views/layouts/teaser/footer.blade.php
new file mode 100644
index 0000000..7303b8a
--- /dev/null
+++ b/views/layouts/teaser/footer.blade.php
@@ -0,0 +1,23 @@
+
+
+ @include('theme::layouts.footer-links')
+
+ {{-- LINKS --}}
+
+
+
+
+
+@include('theme::layouts.up-arrow')
diff --git a/views/layouts/teaser/header.blade.php b/views/layouts/teaser/header.blade.php
new file mode 100644
index 0000000..402e82f
--- /dev/null
+++ b/views/layouts/teaser/header.blade.php
@@ -0,0 +1,12 @@
+
+
+
+
+
+ @include('theme::layouts.header-logo')
+
+
+
+
+
+
diff --git a/views/layouts/up-arrow.blade.php b/views/layouts/up-arrow.blade.php
new file mode 100644
index 0000000..230d93c
--- /dev/null
+++ b/views/layouts/up-arrow.blade.php
@@ -0,0 +1,3 @@
+
+ @include('theme::partials.icons.up-arrow')
+
diff --git a/views/mails/prize-sent.blade.php b/views/mails/prize-sent.blade.php
new file mode 100644
index 0000000..210d792
--- /dev/null
+++ b/views/mails/prize-sent.blade.php
@@ -0,0 +1,16 @@
+{{-- blade-formatter-disable --}}
+
+# {{ __('Bonjour :first_name ,', ['first_name' => $first_name]) }}
+
+{{ __('Votre gain faisant suite à votre participation à bien été envoyé.') }}
+
+{{ __('Vous recevrez prochainement votre dotation à votre domicile.') }}
+
+
+{{ __('Nous vous remercions de votre participation.') }}
+{{ __('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'
+]) }}
+
diff --git a/views/mails/submited-proof.blade.php b/views/mails/submited-proof.blade.php
new file mode 100644
index 0000000..3a7cadf
--- /dev/null
+++ b/views/mails/submited-proof.blade.php
@@ -0,0 +1,16 @@
+{{-- blade-formatter-disable --}}
+
+# {{ __('Merci :first_name ,', ['first_name' => $first_name]) }}
+
+{{ __('Nous avons bien recu à ce jour vos preuves de gains.') }}
+
+{{ __('Vous recevrez prochainement votre dotation à votre domicile.') }}
+
+
+{{ __('Nous vous remercions de votre participation.') }}
+{{ __('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'
+]) }}
+
diff --git a/views/mails/won-discount.blade.php b/views/mails/won-discount.blade.php
new file mode 100644
index 0000000..c0217d3
--- /dev/null
+++ b/views/mails/won-discount.blade.php
@@ -0,0 +1,25 @@
+{{-- blade-formatter-disable --}}
+
+# {{ __('Bravo :first_name !', ['first_name' => $first_name]) }}
+
+{{ __('Vous venez de gagner un bon d\'achat de :face_value € en participant à notre grand jeu :game_name .', [
+ 'face_value' => number_format($discount->face_value / 100, 2, ','),
+ 'game_name' => Str::ucfirst($game_name),
+]) }}
+
+
+
+
+{{ __('Cliquez ici pour accéder à la page d\'impression de votre bon') }}
+
+
+{{ __('Assurez-vous d\'être équipé d\'une imprimante en état de marche avant de lancer l\'impression de votre bon, il ne pourra être imprimé et utilisé qu\'une seule fois.') }}
+
+
+{{ __('Nous vous remercions de votre participation.') }}
+{{ __('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'
+]) }}
+
diff --git a/views/mails/won-prize.blade.php b/views/mails/won-prize.blade.php
new file mode 100644
index 0000000..a6e0e72
--- /dev/null
+++ b/views/mails/won-prize.blade.php
@@ -0,0 +1,18 @@
+{{-- blade-formatter-disable --}}
+
+# {{ __('Bravo :first_name !', ['first_name' => $first_name]) }}
+
+{{ __('Vous venez de gagner 1 :prize en participant à notre grand jeu :game_name .', [
+ 'prize' => Str::ucfirst($prize_label),
+ 'game_name' => Str::ucfirst($game_name),
+]) }}
+
+{{ __('Vous recevrez prochainement votre dotation à votre domicile.') }}
+
+{{ __('Nous vous remercions de votre participation.') }}
+{{ __('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'
+]) }}
+
diff --git a/views/modules/flash-messages.blade.php b/views/modules/flash-messages.blade.php
new file mode 100644
index 0000000..e886502
--- /dev/null
+++ b/views/modules/flash-messages.blade.php
@@ -0,0 +1,55 @@
+@if (!request()->routeIs('login'))
+ @if ($message = Session::get('success', Session::get('bo.success')))
+
+
+ {!! nl2br(e($message)) !!}
+
+
+ @endif
+
+ @if ($message = Session::get('error', Session::get('bo.error')))
+
+
+ {!! nl2br(e($message)) !!}
+
+
+ @endif
+
+ @if ($message = Session::get('warning', Session::get('bo.warning')))
+
+
+ {!! nl2br(e($message)) !!}
+
+
+ @endif
+
+ @if ($message = Session::get('status', Session::get('bo.status')))
+
+
+ {!! nl2br(e($message)) !!}
+
+
+ @endif
+
+ @if ($message = Session::get('info', Session::get('bo.info')))
+
+
+ {!! nl2br(e($message)) !!}
+
+
+ @endif
+
+ @if ($errors->any())
+
+
Liste des erreurs :
+ @if ($errors->any())
+
+ @foreach ($errors->all() as $error)
+ {{ $error }}
+ @endforeach
+
+ @endif
+
+
+ @endif
+@endif
diff --git a/views/pages/end-game.blade.php b/views/pages/end-game.blade.php
new file mode 100644
index 0000000..7fc46f2
--- /dev/null
+++ b/views/pages/end-game.blade.php
@@ -0,0 +1,19 @@
+@extends('theme::layout')
+
+@section('content')
+
+
+
+
{{ __('Fin du jeu') }}
+
+
+
+
+
+ {{ __("Le jeu est terminé\u{00A0}") }}
+ {{ __("Merci à tous pour votre participation\u{00A0}!") }}
+
+
+
+
+@endsection
diff --git a/views/pages/faq.blade.php b/views/pages/faq.blade.php
new file mode 100644
index 0000000..b6e2a72
--- /dev/null
+++ b/views/pages/faq.blade.php
@@ -0,0 +1,48 @@
+@extends('theme::layout')
+
+@section('title', __('Foire aux questions'))
+@section('description', __('La foire aux questions'))
+
+@section('main-class', 'product-page')
+
+@section('content')
+
+
+
+
{{ __('Foire aux questions') }}
+
+
+ @foreach ($questionModelList->groupBy('theme')->values() as $themeIndex => $themeQuestionsModelList)
+
+ @if ($themeQuestionsModelList->count())
+
+
{{ $themeQuestionsModelList->first()->theme->name }}
+
+ @endif
+
+
+ @foreach ($themeQuestionsModelList as $questionIndex => $questionModel)
+
+
+
+
+
{!! clean($questionModel->answer) !!}
+
+
+
+ @endforeach
+
+
+
+ @endforeach
+
+@endsection
diff --git a/views/pages/home.blade.php b/views/pages/home.blade.php
new file mode 100644
index 0000000..eb56bac
--- /dev/null
+++ b/views/pages/home.blade.php
@@ -0,0 +1,201 @@
+@extends('theme::layout')
+
+@section('main-class', 'home-page')
+@section('content')
+ {{-- 1st row lots --}}
+
+
+
+
+
+
+
+
+
{{ __('Jouez et tentez de gagner') }}
+
+
+ @if (collect($prizesGlobal)->count())
+
+ @if (Arr::has($prizesGlobal, 0))
+
+
+
+ {{ Arr::get($prizesGlobal, 0)->quantity }}
+
+
+ @if (intval(Arr::get($prizesGlobal, 0)->quantity) > 1)
+ {{ Str::plural(Arr::get($prizesGlobal, 0)->label) }}
+ @else
+ {{ Arr::get($prizesGlobal, 0)->label }}
+ @endif
+
+
+
+
+ @endif
+ @if (Arr::has($prizesGlobal, 1))
+
+
+
+ {{ Arr::get($prizesGlobal, 1)->quantity }}
+
+
+ @if (intval(Arr::get($prizesGlobal, 1)->quantity) > 1)
+ {{ Str::plural(Arr::get($prizesGlobal, 1)->label) }}
+ @else
+ {{ Arr::get($prizesGlobal, 1)->label }}
+ @endif
+
+
+
+
+
{!! clean(nl2br(__("Ou des milliers\n de bons\n de réduction"))) !!}
+
+
+
+ @endif
+
+ @endif
+
+
+
+
+
+ {{-- BTN JOUER --}}
+
+
+ {{-- 2nd Row how to play --}}
+
+
+
{{ __("Comment jouer\u{00A0}?") }}
+
{{ __("Rien de plus simple\u{00A0}! Suivez les 3 étapes décrites à droite et laissez-vous guider.") }}
+
+
+
+
+
+
+
+
+ {{ __('Achetez un produit :company porteur de l\'offre.', ['company' => Str::title($settingsGlobal->company)]) }}
+
+
+
+ {{ __('Trouvez le code au dos du sticker, soit en le décollant du produit, soit en lisant en transparence.') }}
+
+
+ {{ __("Inscrivez-vous sur ce site, insérez votre code et découvrez ce que vous avez gagné\u{00A0}!") }}
+
+
+
+
+
+ {{-- 3 row gifts --}}
+
+
+
+
{{ __('Les cadeaux') }}
+
+
+
+
+
+
+
+
+ @foreach ($prizesGlobal as $prizeIndex => $prizeModel)
+ first) aria-current="true" @endif>
+ @endforeach
+
+
+ @foreach ($prizesGlobal as $prizeIndex => $prizeModel)
+
+
+
+
+ @if ($loop->index === 0)
+ {{-- RESIZE FOR SPECIFIC PRIZE PICTURE --}}
+
+ @elseif ($loop->index === 1)
+ {{-- RESIZE FOR SPECIFIC PRIZE PICTURE --}}
+
+ @else
+
+ @endif
+
+
+
+
+
{{ $prizeModel->arg_title }}
+
{{ $prizeModel->arg_subtitle }}
+
{!! clean($prizeModel->arg_content) !!}
+
+
+
+
+
+
+ @endforeach
+
+
+
+ {{ __('pagination.previous') }}
+
+
+
+ {{ __('pagination.next') }}
+
+
+
+
+
+ {{-- BTN JOUER --}}
+
+@endsection
diff --git a/views/pages/participation/loose.blade.php b/views/pages/participation/loose.blade.php
new file mode 100644
index 0000000..d815f9a
--- /dev/null
+++ b/views/pages/participation/loose.blade.php
@@ -0,0 +1,21 @@
+@extends('theme::layout')
+
+@section('title', __('Perdu'))
+@section('description', __('Vous avez perdu, retentez votre chance'))
+
+@section('main-class', 'loose-page')
+@section('content')
+
+
+
+
{{ __('C\'est perdu') }}
+
+
+
+
+@endsection
diff --git a/views/pages/participation/participate.blade.php b/views/pages/participation/participate.blade.php
new file mode 100644
index 0000000..fae772b
--- /dev/null
+++ b/views/pages/participation/participate.blade.php
@@ -0,0 +1,150 @@
+@extends('theme::layout')
+
+@section('title', __('Je participe'))
+@section('description', __('Je participe au jeu en soumettant mon code unique de participation'))
+
+@section('main-class', 'participate-page')
+
+@section('content')
+
+ {{-- TITLE --}}
+
+
+
{{ __('Saisissez votre code') }}
+
+
+ {{-- TEXT --}}
+
+
+
+ {{ __('Pour participer au jeu, munissez-vous du sticker présent sur les produits Le Gaulois participant à l\'opération.') }}
+
+
+ {{ __('Attention') }} : {!! __(
+ ':strong en cas de gain du coffret Wonderbox,:endStrong gardez précieusement :strong le sticker utilisé ainsi que votre ticket de caisse. :endStrong',
+ [
+ 'strong' => '',
+ 'endStrong' => ' ',
+ ],
+ ) !!}
+ {{ __('Ils vous seront demandés comme preuves de gain pour valider votre lot.') }}
+
+
+
+
+
+
+ {{-- FORM --}}
+
+
+@endsection
diff --git a/views/pages/participation/participation-exhausted.blade.php b/views/pages/participation/participation-exhausted.blade.php
new file mode 100644
index 0000000..bce5ae0
--- /dev/null
+++ b/views/pages/participation/participation-exhausted.blade.php
@@ -0,0 +1,25 @@
+@extends('theme::layout')
+
+@section('title', __('Plus de participations'))
+@section('description', __('Désolé, mais vous ne pouvez plus participer au jeu'))
+
+@section('content')
+
+
+
+
{{ __('Participation épuisée') }}
+
+
+
+
+
{{ __('Vous ne pouvez plus participer à ce jeu car vous avez déjà participé trop de fois.') }}
+
+
+
+
+@endsection
diff --git a/views/pages/participation/parts/animation.blade.php b/views/pages/participation/parts/animation.blade.php
new file mode 100644
index 0000000..c0e2622
--- /dev/null
+++ b/views/pages/participation/parts/animation.blade.php
@@ -0,0 +1,62 @@
+
+
+
+
{{ __('Lancez la roue et découvrez votre gain') }}
+
+
+
+
+ {{-- SPIN WHEEL --}}
+ {{-- blade-formatter-disable --}}
+ @php
+ $prizesIdList = \App\Models\Prize::query()->pluck('id');
+ $brPicture = Vite::asset('resources/theme/mounted/assets/images/animations/br-spin.png');
+ $lotWbHappy = Vite::asset('resources/theme/mounted/assets/images/animations/wb-happy-spin.png');
+ $lotWbFamilly = Vite::asset('resources/theme/mounted/assets/images/animations/wb-famille-spin.png');
+ /** ID => picture */
+ $wheelParts = collect([
+ [$lotWbFamilly, $prizesIdList->get(0)],
+ [$brPicture, 'br'],
+ [$lotWbHappy, $prizesIdList->get(1)],
+ [$brPicture, 'br'],
+ ]);
+ // * Quel fragment va tomber
+ $spinChild = !empty($prizeModel) ? $wheelParts->search(fn($wheelPart) => Arr::get($wheelPart, 1) === $prizeModel->id) : null;
+ $spinChild = (is_null($spinChild) and $winDiscount) ? $wheelParts->search(fn($wheelPart) => Arr::get($wheelPart, 1) === 'br') : $spinChild;
+ @endphp
+ {{-- blade-formatter-enable --}}
+
+
+
+
+ @foreach ($wheelParts as $wheelPartIndex => $wheelPart)
+
+ @endforeach
+ @push('styles')
+ @foreach ($wheelParts as $wheelPartIndex => $wheelPart)
+
+ @endforeach
+ @endpush
+
+
+
+
+
+
+
+
+ {{ __('Lancez la roulette !') }}
+
+
+
+
+
diff --git a/views/pages/participation/parts/discount.blade.php b/views/pages/participation/parts/discount.blade.php
new file mode 100644
index 0000000..1ff8095
--- /dev/null
+++ b/views/pages/participation/parts/discount.blade.php
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
{{ __("Félicitations\u{00A0}!") }}
+
+ {{ __('Vous avez gagné un bon d\'achat de :amount € sur :product_name', [
+ 'amount' => $discount->face_value,
+ 'product_name' => $discount->valid_on,
+ ]) }}
+
+
+
+
{{ __("Vous possédez un autre code\u{00A0}?") }}
+
+
+
+
+
diff --git a/views/pages/participation/parts/prize.blade.php b/views/pages/participation/parts/prize.blade.php
new file mode 100644
index 0000000..ed00c6c
--- /dev/null
+++ b/views/pages/participation/parts/prize.blade.php
@@ -0,0 +1,41 @@
+ empty($noHide),
+])>
+
+
+
+
+
+
$prizeModel->id % 2 === 0,
+ 'text-bg-tertiary' => $prizeModel->id % 2 === 1,
+ ])>
+
{{ __("Félicitations\u{00A0}!") }}
+
+ {{ __('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 coordonnées d\'inscription pour recevoir votre lot.') }}
+ @endif
+
+ @if ($settingsGlobal->winning_proof)
+
»
+ @endif
+
+
+
+
diff --git a/views/pages/participation/parts/winning-proof-address.blade.php b/views/pages/participation/parts/winning-proof-address.blade.php
new file mode 100644
index 0000000..600aa4e
--- /dev/null
+++ b/views/pages/participation/parts/winning-proof-address.blade.php
@@ -0,0 +1,39 @@
+{{ __('Ou Par courrier') }}
+{!! clean(
+ __(
+ 'Merci de nous envoyer, sur papier libre :printLinkComment, vos coordonnées ainsi que vos preuves d\'achat originales. Le tout sous pli suffisamment affranchi sous dix jours à l\'adresse suivante :',
+ [
+ // Optionnal winning proof pdf
+ 'printLinkComment' => optional($prizeModel ?? '')->pdf_winning_proof
+ ? __('(ou en utilisant le formulaire :startA téléchargeable ici :endA)', [
+ 'startA' =>
+ '',
+ 'endA' => ' ',
+ ])
+ : '',
+ ],
+ ),
+) !!}
+
+
+ Service Consommateurs LDC
+ Jeu "Gau'loisirs"
+ CS 50925
+ 72302 SABLÉ SUR SARTHE CEDEX
+
+{{ __("Avec\u{00A0}:") }}
+
+ {{ __('Vos coordonnées') }}
+ {{ __('Nom, prénom, adresse complète') }}
+ {{ __('N° de téléphone et E-mail') }}
+
+
+ {{ __('Vos preuves d\'achat') }}
+ {{ __('Code-barres original du produit') }}
+ {{ __('Ticket de caisse original avec la date') }}
+ {{ __('Le sticker ou ou la partie de l\'emballage contenant le code unique de jeu (code visible)') }}
+
diff --git a/views/pages/participation/parts/winning-proof-form/coordinates.blade.php b/views/pages/participation/parts/winning-proof-form/coordinates.blade.php
new file mode 100644
index 0000000..77b8eb2
--- /dev/null
+++ b/views/pages/participation/parts/winning-proof-form/coordinates.blade.php
@@ -0,0 +1,47 @@
+
+ {{ __('Vos coordonnées') }}
+
+ {{-- Force next columns to break to new line --}}
+
+
+ {{-- FIRST_NAME --}}
+
+ @include('theme::auth.partials.inputs.first_name', ['required' => true])
+
+
+ {{-- LAST_NAME --}}
+
+ @include('theme::auth.partials.inputs.last_name', ['required' => true])
+
+
+ {{-- ADDRESS --}}
+
+ @include('theme::auth.partials.inputs.address', ['required' => true])
+
+
+ {{-- ADDRESS2 --}}
+
+ @include('theme::auth.partials.inputs.address2')
+
+
+ {{-- POSTAL_CODE --}}
+
+ @include('theme::auth.partials.inputs.postal_code', ['required' => true])
+
+
+ {{-- CITY --}}
+
+ @include('theme::auth.partials.inputs.city', ['required' => true])
+
+
+ {{-- COUNTRY --}}
+
+ @include('theme::auth.partials.inputs.country', ['required' => true])
+
+
+ {{-- PHONE --}}
+
+ @include('theme::auth.partials.inputs.phone', ['required' => true])
+
+
+
diff --git a/views/pages/participation/parts/winning-proof-form/proof.blade.php b/views/pages/participation/parts/winning-proof-form/proof.blade.php
new file mode 100644
index 0000000..40e145a
--- /dev/null
+++ b/views/pages/participation/parts/winning-proof-form/proof.blade.php
@@ -0,0 +1,70 @@
+
+ {{ __('Vos preuves d\'achat') }}
+
+ {{-- Force next columns to break to new line --}}
+
+
+ {{-- FILE CODE --}}
+
+
{{ Str::ucfirst(__('validation.custom.barcode')) }} *
+
$errors->has('barcode'),
+ ]) @class([
+ 'form-control',
+ 'form-control-lg',
+ 'is-invalid' => $errors->has('barcode'),
+ ])
+ accept=".jpg,.jpeg,.png,.pdf" required>
+ @foreach ($errors->get('barcode') as $message)
+
{{ $message }}
+ @endforeach
+
{{ __('Image ou pdf, 2 Mo maximum') }}
+
+
+ {{-- Force next columns to break to new line --}}
+
+
+ {{-- FILE RECEIPT --}}
+
+
{{ Str::ucfirst(__('validation.custom.ticket')) }} *
+
$errors->has('ticket'),
+ ]) @class([
+ 'form-control',
+ 'form-control-lg',
+ 'is-invalid' => $errors->has('ticket'),
+ ])
+ accept=".jpg,.jpeg,.png,.pdf" required>
+ @foreach ($errors->get('ticket') as $message)
+
{{ $message }}
+ @endforeach
+
{{ __('Image ou pdf, 2 Mo maximum') }}
+
+
+ {{-- Force next columns to break to new line --}}
+
+
+ {{-- FILE STICKER --}}
+
+
{{ Str::ucfirst(__('validation.custom.sticker')) }} *
+
$errors->has('sticker'),
+ ]) @class([
+ 'form-control',
+ 'form-control-lg',
+ 'is-invalid' => $errors->has('sticker'),
+ ])
+ accept=".jpg,.jpeg,.png,.pdf" required>
+ @foreach ($errors->get('sticker') as $message)
+
{{ $message }}
+ @endforeach
+
{{ __('Image ou pdf, 2 Mo maximum') }}
+
+
+
diff --git a/views/pages/participation/parts/winning-proof.blade.php b/views/pages/participation/parts/winning-proof.blade.php
new file mode 100644
index 0000000..9c8fa0e
--- /dev/null
+++ b/views/pages/participation/parts/winning-proof.blade.php
@@ -0,0 +1,57 @@
+ empty($noHide),
+])>
+
+
+ {{ __('Envoyez vos preuves de gain') }}
+
+
+
+
+ {{-- ONLINE FORM --}}
+
+
+ {{ __('En ligne @') }}
+ {{ __('Renseignez l\'adresse à laquelle vous souhaitez recevoir votre gain et téléversez vos preuves d\'achat.') }}
+
+
+
+
+ {{-- POSTAL INSTRUCTIONS --}}
+
+
+ @include('theme::pages.participation.parts.winning-proof-address', [
+ 'prizeModel' => $prizeModel,
+ ])
+
+
+
+
+
diff --git a/views/pages/participation/winning-participations.blade.php b/views/pages/participation/winning-participations.blade.php
new file mode 100644
index 0000000..e9a72a1
--- /dev/null
+++ b/views/pages/participation/winning-participations.blade.php
@@ -0,0 +1,63 @@
+@extends('theme::layout')
+
+@section('title', __('Mes gains'))
+@section('description', __('Les gains que j\'ai obtenu dans le jeu'))
+
+@section('main-class', 'product-page')
+
+@section('content')
+
+
+
+
{{ __('Mes gains') }}
+
+
+ @foreach ($winningList as $participationModel)
+
+
+ @if ($participationModel->relationLoaded('instantWin') and $participationModel->instantWin)
+
+
+
{{ __('Lot :label', ['label' => $participationModel->instantWin->prize->label]) }}
+
+ @can('submitProof', $participationModel)
+
+ {{ __('Vous avez gagné ce lot et devez nous fournir les preuves de gains.') }}
+
+
+ {{ __('Aller sur le formulaire de preuves de gains') }}
+
+ @include('theme::pages.participation.parts.winning-proof-address', [
+ 'prizeModel' => $participationModel->instantWin->prize,
+ ])
+ @else
+
+ {{ __('Vous avez gagné ce lot et le receverez prochainenment par voie postale.') }}
+
+ @endcan
+
+
+ @endif
+ @if ($participationModel->relationLoaded('discount') and $participationModel->discount)
+
+
+
{{ __('Bon de réduction') }}
+
+
+ {{ __('Vous avez gagné un bon d\'achat, vous pouvez utiliser le lien ci-dessous pour l\'imprimer si ce n\'est pas déjà fait.') }}
+ {{ __('Pensez bien à allumer votre imprimante avant de cliquer sur le lien') }}
+
+
{{ __('Imprimer ma réduction') }}
+
+
+ @endif
+
+
+ @endforeach
+
+
+@endsection
diff --git a/views/pages/participation/won-form-only.blade.php b/views/pages/participation/won-form-only.blade.php
new file mode 100644
index 0000000..8253062
--- /dev/null
+++ b/views/pages/participation/won-form-only.blade.php
@@ -0,0 +1,27 @@
+@extends('theme::layout')
+
+@section('title', __('Vous avez gagné !'))
+@section('description', __('Vous avez gagné un Lot, veuillez compléter le formulaire de preuve de gains'))
+
+@section('main-class', 'won-page g-0')
+@section('content')
+
+ {{-- LOT --}}
+ @include('theme::pages.participation.parts.prize', [
+ 'noHide' => true,
+ 'sectionId' => 'prize-section',
+ 'prizeModel' => $prizeModel,
+ 'participationModel' => $participationModel,
+ 'winProofAnchor' => 'winning-proof-section',
+ ])
+
+ @if ($settingsGlobal->winning_proof and !empty($prizeModel))
+ {{-- WINNING PROOF SUBMIT PART --}}
+ @include('theme::pages.participation.parts.winning-proof', [
+ 'noHide' => true,
+ 'sectionId' => 'winning-proof-section',
+ 'participationModel' => $participationModel,
+ ])
+ @endif
+
+@endsection
diff --git a/views/pages/participation/won.blade.php b/views/pages/participation/won.blade.php
new file mode 100644
index 0000000..cbc45ec
--- /dev/null
+++ b/views/pages/participation/won.blade.php
@@ -0,0 +1,43 @@
+@extends('theme::layout')
+
+@section('title', __('Vous avez gagné !'))
+@section('description', __('Vous avez gagné un Lot cliquez sur la roue pour découvrir lequel'))
+
+@section('main-class', 'won-page g-0')
+@section('content')
+
+ {{-- SPIN WHEEL --}}
+ @include('theme::pages.participation.parts.animation', [
+ 'sectionId' => 'spin-animation',
+ 'winDiscount' => !empty($prizeModel) ? false : true,
+ 'prizeModel' => $prizeModel ?? null,
+ ])
+
+ @if (!empty($prizeModel))
+ {{-- LOT --}}
+ @include('theme::pages.participation.parts.prize', [
+ 'sectionId' => 'prize-section',
+ 'prizeModel' => $prizeModel,
+ 'winProofAnchor' => 'winning-proof-section',
+ ])
+ @elseif (!empty($discount))
+ {{-- COUPON --}}
+ @include('theme::pages.participation.parts.discount', [
+ 'sectionId' => 'discount-section',
+ 'discount' => $discount,
+ ])
+ @else
+ @php
+ throw new \RuntimeException('Unhandled win case');
+ @endphp
+ @endif
+
+ @if ($settingsGlobal->winning_proof and !empty($prizeModel))
+ {{-- WINNING PROOF SUBMIT PART --}}
+ @include('theme::pages.participation.parts.winning-proof', [
+ 'sectionId' => 'winning-proof-section',
+ 'participationModel' => $participationModel,
+ ])
+ @endif
+
+@endsection
diff --git a/views/pages/products.blade.php b/views/pages/products.blade.php
new file mode 100644
index 0000000..58912c2
--- /dev/null
+++ b/views/pages/products.blade.php
@@ -0,0 +1,34 @@
+@extends('theme::layout')
+
+@section('title', __('Produits porteurs'))
+@section('description', __('Les produits porteurs de l\'offre du jeu'))
+
+@section('main-class', 'product-page')
+
+@section('content')
+
+
+
+
{{ __('Les produits porteurs') }}
+
+
+
+
+
+ @foreach ($rangeModelList as $rangeModel)
+ @foreach ($rangeModel->products as $productModel)
+
+ @endforeach
+ @endforeach
+
+
+
+
+@endsection
diff --git a/views/pages/static_page.blade.php b/views/pages/static_page.blade.php
new file mode 100644
index 0000000..169c1d2
--- /dev/null
+++ b/views/pages/static_page.blade.php
@@ -0,0 +1,22 @@
+@extends('theme::layout')
+
+@section('title', $staticPageModel->seo_title)
+@section('description', $staticPageModel->seo_description)
+
+@section('main-class', 'static-page')
+@section('content')
+
+
+
+
{{ $staticPageModel->title }}
+
+
+
+
+
+ {!! $staticPageModel->content !!}
+
+
+
+
+@endsection
diff --git a/views/pages/teaser.blade.php b/views/pages/teaser.blade.php
new file mode 100644
index 0000000..35698c6
--- /dev/null
+++ b/views/pages/teaser.blade.php
@@ -0,0 +1,117 @@
+@extends('theme::layout-teaser')
+
+@section('description', __('Le jeu :site_name vas bientôt ouvrir', ['site_name' => $settingsGlobal->name]))
+
+@section('main-class', 'teaser-page')
+@section('content')
+
+
+
+
+ {{ __('Du :start_date au :end_date jouez et tentez de gagner', [
+ 'start_date' => $settingsGlobal->start_date->isoFormat('DD MMMM'),
+ 'end_date' => $settingsGlobal->end_date->isoFormat('DD MMMM'),
+ ]) }}
+
+
+
+
+
+
+
+
+
+
+
+
{{ __('Jouez et tentez de gagner') }}
+
+
+ @if (collect($prizesGlobal)->count())
+
+ @if (Arr::has($prizesGlobal, 0))
+
+
+
+ {{ optional(Arr::get($prizesGlobal, 0))->quantity }}
+
+
+ @if (intval(Arr::get($prizesGlobal, 0)->quantity) > 1)
+ {{ Str::plural(Arr::get($prizesGlobal, 0)->label) }}
+ @else
+ {{ Arr::get($prizesGlobal, 0)->label }}
+ @endif
+
+
+
+
+ @endif
+ @if (Arr::has($prizesGlobal, 1))
+
+
+
+ {{ optional(Arr::get($prizesGlobal, 1))->quantity }}
+
+
+ @if (intval(Arr::get($prizesGlobal, 1)->quantity) > 1)
+ {{ Str::plural(Arr::get($prizesGlobal, 1)->label) }}
+ @else
+ {{ Arr::get($prizesGlobal, 1)->label }}
+ @endif
+
+
+
+
+
{!! clean(nl2br(__("Ou des milliers\n de bons\n de réduction"))) !!}
+
+
+
+ @endif
+
+ @endif
+
+
+ @php
+ $counterParts = explode(
+ '#',
+ $settingsGlobal->start_date->diffForHumans([
+ 'syntax' => \Carbon\CarbonInterface::DIFF_ABSOLUTE,
+ 'parts' => 3,
+ 'join' => '#',
+ ]),
+ );
+ @endphp
+ @if (collect($counterParts)->count())
+
+ {{ __('Votre jeu sera ouvert dans :time', ['time' => '']) }}
+
+ @foreach ($counterParts as $counterPart)
+
+
+
+ {{ Str::of($counterPart)->before(' ')->padLeft(2, '0') }}
+
+
+ {{ Str::of($counterPart)->after(' ')->padBoth(8, "\u{00A0}") }}
+
+ @endforeach
+
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/views/partials/icons/facebook.blade.php b/views/partials/icons/facebook.blade.php
new file mode 100644
index 0000000..af2f46d
--- /dev/null
+++ b/views/partials/icons/facebook.blade.php
@@ -0,0 +1,10 @@
+
+ {{ __('Page Facebook :company', ['company' => $settingsGlobal->company]) }}
+
+
+
+
diff --git a/views/partials/icons/instagram.blade.php b/views/partials/icons/instagram.blade.php
new file mode 100644
index 0000000..4e304d9
--- /dev/null
+++ b/views/partials/icons/instagram.blade.php
@@ -0,0 +1,17 @@
+
+ {{ __('Page Instagram :company', ['company' => $settingsGlobal->company]) }}
+
+
+
+
+
+
+
+
+
+
diff --git a/views/partials/icons/up-arrow.blade.php b/views/partials/icons/up-arrow.blade.php
new file mode 100644
index 0000000..309f332
--- /dev/null
+++ b/views/partials/icons/up-arrow.blade.php
@@ -0,0 +1,6 @@
+
+ {{ __('Flèche pointant en direction du haut de la page') }}
+
+
+
+
diff --git a/views/vendor/cn-cookies.blade.php b/views/vendor/cn-cookies.blade.php
new file mode 100644
index 0000000..93ebf89
--- /dev/null
+++ b/views/vendor/cn-cookies.blade.php
@@ -0,0 +1,100 @@
+{{-- blade-formatter-disable --}}
+@php
+
+$site_name = Str::ucfirst(config('app.name'));
+$logo_picture_url = Vite::asset('resources/theme/mounted/assets/images/home_logo.png');
+$logo_title_text = __('Logo du site :name', ['name' => $site_name]);
+$logo_alt_text = __('Logo :name', ['name' => $site_name]);
+$confidentiality_page_url = route('fo.charte');
+
+$strings = (object)[
+ 'modal_title' => __('Fenetre de gestion de cookies'),
+ 'button_customize_cookies' => __('cookie-notice.button_customize_cookies'),
+ 'button_close_cookies' => __('cookie-notice.button_close_cookies'),
+ 'button_forbid' => __('cookie-notice.button_forbid'),
+ 'button_allow' => __('cookie-notice.button_allow'),
+ 'button_forbid_all' => Str::upper(__('cookie-notice.button_forbid_all')),
+ 'button_allow_all' => Str::upper(__('cookie-notice.button_allow_all')),
+ 'button_customize' => Str::upper(__('cookie-notice.button_customize')),
+ 'button_forbid_all_title' => __('cookie-notice.button_forbid_all_title'),
+ 'button_allow_all_title' => __('cookie-notice.button_allow_all_title'),
+ 'button_back' => Str::upper(__('cookie-notice.button_back')),
+ 'banner_title' => __('cookie-notice.banner_title', ['site_name' => $site_name]),
+ 'banner_text_open' => __('cookie-notice.banner_text_open', ['site_name' => $site_name]),
+ 'banner_text' => __('cookie-notice.banner_text'),
+ 'banner_details' => __('cookie-notice.banner_details'),
+ 'banner_details_link' => __('cookie-notice.banner_details_link'),
+ 'banner_details_link_title' => __('cookie-notice.banner_details_link_title'),
+ 'banner_more_details' => __('cookie-notice.banner_more_details'),
+ 'banner_less_details' => __('cookie-notice.banner_less_details'),
+ 'Panel_title' => __('cookie-notice.Panel_title'),
+ 'Panel_content' => __('cookie-notice.Panel_content'),
+ 'Panel_subtitle' => __('cookie-notice.Panel_subtitle'),
+ 'Panel_details' => __('cookie-notice.Panel_details'),
+ 'picture_cookie_title' => __('Image d\'un bon gros cookie'),
+ 'navigation_title' => __('Navigation du panneau des cookie'),
+];
+
+$cookies = [];
+
+// MATOMO
+$cookies['matomo'] = [
+ 'name' => __('cookie-notice.custom.matomo.title'),
+ 'description' => __('cookie-notice.custom.matomo.description'),
+ 'link' => 'https://fr.matomo.org/gdpr-analytics/',
+ 'labelLink' => __('En savoir +'),
+ 'cookies' => ['_pk']
+];
+
+$cookies['matomo']['script'] = <<
+@endpush
diff --git a/views/vendor/cookie-notice-templates/standard.blade.php b/views/vendor/cookie-notice-templates/standard.blade.php
new file mode 100644
index 0000000..c17f9b4
--- /dev/null
+++ b/views/vendor/cookie-notice-templates/standard.blade.php
@@ -0,0 +1,94 @@
+
+
+ {{-- COOKIE SVG --}}
+
+ {{ $strings->picture_cookie_title }}
+
+
+
+
+
+
+
+
+
+
+
+ {{-- BANNER --}}
+
+
+ X
+
+ {{-- CONTENT VIEW --}}
+
+ {{-- 1ST PAGE BANNER --}}
+
+
+
+
+
+
+ {!! nl2br(e($strings->banner_title)) !!}
+
+
+
{!! nl2br(e($strings->banner_text)) !!}
+
{!! nl2br(e($strings->banner_text_open)) !!}
+
+
+
+
+ {!! nl2br(e($strings->banner_more_details)) !!}
+
+
+ {{-- 2ND PAGE CUSTOMIZE PANEL --}}
+
+
{{ $strings->Panel_title }}
+
{!! nl2br(e($strings->Panel_subtitle)) !!}
+
{!! nl2br(e($strings->Panel_details)) !!}
+
+ {{-- COOKIES LIST --}}
+
+
+
+
+ {{-- NAV BAR --}}
+
+ {{ $strings->button_forbid_all }}
+ {{ $strings->button_allow_all }}
+ {{ $strings->button_customize }}
+
+
+ {{-- COOKIE LIST LI TEMPLATE --}}
+
+
+
+
#name
+
#description
+
#link
+
+
+
+
+
+
diff --git a/views/vendor/errors/404.blade.php b/views/vendor/errors/404.blade.php
new file mode 100644
index 0000000..d3fa028
--- /dev/null
+++ b/views/vendor/errors/404.blade.php
@@ -0,0 +1,12 @@
+@extends('errors::illustrated-layout')
+
+@section('title', __('Not Found'))
+@section('code', '404')
+@section('message', __('Not Found'))
+@section('submessage', __('Ce n\'est pas la page que vous recherchez...'))
+
+@section('button', true)
+
+@section('image')
+
+@endsection
diff --git a/views/vendor/errors/503.blade.php b/views/vendor/errors/503.blade.php
new file mode 100644
index 0000000..65cc481
--- /dev/null
+++ b/views/vendor/errors/503.blade.php
@@ -0,0 +1,10 @@
+@extends('errors::illustrated-layout')
+
+@section('title', __('Service Unavailable'))
+@section('code', '503')
+@section('message', __('Service Unavailable'))
+@section('submessage', __('Le site est en maintenance, nous reviendrons...'))
+
+@section('image')
+
+@endsection
diff --git a/views/vendor/mail/html/header.blade.php b/views/vendor/mail/html/header.blade.php
new file mode 100644
index 0000000..581b3f7
--- /dev/null
+++ b/views/vendor/mail/html/header.blade.php
@@ -0,0 +1,13 @@
+
+
+