Sync 4 Layout + homepage ok

This commit is contained in:
Jérémy Munsch 2023-11-23 09:44:30 +01:00
parent 9d9451f9e2
commit 1ce542a7f3
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
40 changed files with 738 additions and 421 deletions

View file

@ -1 +1,81 @@
// Empty.
body {
> header {
.rest-in-game-banner {
&::before {
background-color: $color-primary;
content: ' ';
}
}
}
> footer {
.share {
width: 1.6rem;
}
.list-inline {
.list-inline-item {
&::after {
right: 0;
display: inline-block;
width: 0.2rem;
margin-left: 0.8rem;
background-color: $color-light;
content: '\00A0';
}
&:last-child::after {
display: none;
}
}
}
svg {
fill: $color-light;
}
.downlink {
> a {
display: inline-block;
}
}
@include media-breakpoint-up(md) {
.downlink {
position: relative;
height: 6rem;
> a {
position: absolute;
top: -6rem;
left: 50%;
width: 11rem;
max-height: 8rem;
transform: translateX(-50%);
> span {
position: relative;
top: -3rem;
}
}
}
}
#page-up {
position: fixed;
right: 0;
bottom: 0;
display: none;
padding: 0;
margin-right: 1rem;
img {
width: 3rem;
}
&.show {
display: block;
}
}
}
}

View file

@ -4,6 +4,7 @@
@import "./utilities/variables";
// * VENDOR
@import "@ldc-web/cookie-notice";
@import "./vendor/bootstrap";
// * BASE
@ -11,3 +12,6 @@
@import "./base/fonts";
@import "./base/common";
@import "./base/layout";
// * PAGES
@import "./pages/home";

View file

87
sass/pages/_home.scss Normal file
View file

@ -0,0 +1,87 @@
.home-page {
.picture-100-win {
left: 40%;
transform: translateX(-60%);
}
@include media-breakpoint-up(xl) {
.main-rotate {
transform: rotateZ(-5deg);
}
.anti-rotate {
transform: rotateZ(5deg);
}
}
.badge-vertical {
width: 4rem;
padding: 0.8rem;
@include media-breakpoint-up(md) {
width: 7rem;
padding: 1.3rem;
}
&::after {
display: block;
width: 0.4rem;
height: 200%;
margin: 0 auto;
background-color: $color-white;
content: ' ';
}
&:last-child::after {
display: none;
}
}
.picture-products {
max-width: 20rem;
}
#carousel-lots {
.carousel-text-pannel {
max-width: 40rem;
}
.carousel-item {
height: 55rem;
@include media-breakpoint-up(sm) {
height: 48rem;
}
@include media-breakpoint-up(md) {
height: 40rem;
}
}
img {
max-height: 20rem;
@include media-breakpoint-up(md) {
max-height: inherit;
}
}
.main-rotate {
transform: rotateZ(-1deg);
}
.anti-rotate {
transform: rotateZ(1deg);
}
@include media-breakpoint-up(md) {
.main-rotate {
transform: rotateZ(-5deg);
}
.anti-rotate {
transform: rotateZ(5deg);
}
}
}
}

View file

@ -36,6 +36,7 @@
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/close";
@import "bootstrap/scss/breadcrumb";
@import "bootstrap/scss/carousel";
// 6. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
@import "bootstrap/scss/utilities/api";

View file

@ -41,4 +41,27 @@ document.addEventListener("DOMContentLoaded", function () {
});
}, 300);
}
const scrollTop = (target: string, offset: number = 0) => {
const targetElement = document.getElementById(target);
if (!targetElement) throw new Error(`scrollTop requires ${target} to exist`);
const top = targetElement.getBoundingClientRect().top,
t = window.scrollY + top - offset;
scrollTo({
top: t,
behavior: "smooth"
});
};
const pageUp = document.getElementById("page-up");
if (pageUp) {
pageUp.addEventListener("click", () => scrollTop("content-container", 150)),
document.addEventListener("scroll", () => {
if (window.scrollY > 250) {
pageUp.classList.add("show");
return;
}
pageUp.classList.remove("show");
});
}
});

View file

@ -10,6 +10,9 @@ import "./utilities/vue-fo";
// CUSTOM
import "./base/common";
// PAGES
import "./pages/home";
// Cookies
import CookieNotice from "@ldc-web/cookie-notice";
window.CookieNotice = CookieNotice;

3
ts/index.d.ts vendored
View file

@ -2,9 +2,6 @@ export { };
import type CookieNotice from "@ldc-web/cookie-notice";
import { AxiosStatic } from "axios";
// import type {
// Axios
// } from "./../../../ts/front-definition.d.ts";
declare global {

View file

46
ts/pages/home.ts Normal file
View file

@ -0,0 +1,46 @@
import { Carousel } from "bootstrap";
document.addEventListener("DOMContentLoaded", function () {
if (!document.querySelector("main.home-page")) {
return;
}
// * BR Carousel (With BS)
const lotsCarousel = document.getElementById("carousel-lots");
if (lotsCarousel) {
const playPauseBtn = document.getElementById("coupons-carousel-play-btn");
const carousel = Carousel.getOrCreateInstance(lotsCarousel, {
// * Start cycle on swipe (or play btn)
ride: true
});
let isRunning = false;
if (playPauseBtn) {
const updatePlayBtnStatus = () => {
// * Toggle once
if (!isRunning) {
playPauseBtn.children.item(0)?.classList.remove("d-none");
playPauseBtn.children.item(1)?.classList.add("d-none");
} else {
playPauseBtn.children.item(0)?.classList.add("d-none");
playPauseBtn.children.item(1)?.classList.remove("d-none");
}
};
playPauseBtn.addEventListener("click", () => {
if (isRunning) {
carousel.pause(true);
} else {
carousel.cycle();
}
isRunning = !isRunning;
updatePlayBtnStatus();
});
lotsCarousel.addEventListener("slide.bs.carousel", () => {
isRunning = true;
updatePlayBtnStatus();
});
}
}
});

View file

@ -27,7 +27,9 @@ import {
faEyeSlash,
faFolderOpen,
faListUl,
faPause,
faPencil,
faPlay,
faPlus,
faQuestionCircle,
faRedoAlt,
@ -79,12 +81,12 @@ library.add(faListUl);
library.add(faBan);
library.add(faCircleExclamation);
library.add(faCircleInfo);
// Front
library.add(faChevronLeft);
library.add(faChevronRight);
library.add(faCircleXmark);
library.add(faCircleNotch);
library.add(faSliders);
library.add(faPlay);
library.add(faPause);
dom.watch();

View file

@ -11,7 +11,7 @@
@if ($result === true)
<p>Compte activé avec succès, vous pouvez désormais vous connecter</p>
<div class="main-btn">
<a href="{{ route('login') }}">Se connecter</a>
<a href="{{ route('fo.fo.login') }}">Se connecter</a>
</div>
@if (session('success'))
<div class="alert alert-success">
@ -34,7 +34,7 @@
<p>Cliquez sur le bouton ci-dessous pour vous inscrire.</p>
</div>
<div class="btn">
<a href="{{ route('inscription') }}">Je m'inscris</a>
<a href="{{ route('fo.inscription') }}">Je m'inscris</a>
</div>
@endif
</div>

View file

@ -16,14 +16,15 @@
<div class="code--img">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/br.png') }}" alt="Sticker jeu 100% gagnant">
</div>
<form class="flex" id="code--form" method="POST" action="{{ route('participate') }}">
<form class="flex" id="code--form" method="POST" action="{{ route('fo.participate') }}">
<div class="code--edit flex">
@csrf
<input name="code" type="text" maxlength="9" size="9" placeholder="Code unique (9 caractères)*" required>
<input name="code_ean" type="text" maxlength="13" size="13" placeholder="Code Barre (13 caractères)*" required>
<div class="rules">
<input id="accept_rules" name="accept_rules" type="checkbox" required>
<label for="accept_rules">J'ai lu et j'accepte le <a href="{{ route('reglement') }}">règlement</a> du jeu*</label>
<label for="accept_rules">J'ai lu et j'accepte le <a href="{{ route('fo.reglement') }}">règlement</a> du
jeu*</label>
</div>
<span>* Champs obligatoires</span>

View file

@ -10,7 +10,7 @@
<div class="flex" id="lost_edit">
@if (!isset($tokenValid) || !$tokenValid)
<h1 class="post-title">Mot de passe oublié</h1>
<form class="flex" id="lost--form" method="POST" action="{{ route('mail-password') }}">
<form class="flex" id="lost--form" method="POST" action="{{ route('fo.mail-password') }}">
@method('PUT')
@csrf
@if ($errors->any())
@ -37,7 +37,7 @@
</form>
@elseif ($tokenValid)
<h1 class="post-title">Changement de votre mot de passe</h1>
<form method="POST" action="{{ route('change-password', $token) }}">
<form method="POST" action="{{ route('fo.change-password', $token) }}">
@method('PUT')
@csrf
@if ($errors->any())

View file

@ -1,210 +0,0 @@
@extends('theme::fo.layout')
@section('title', 'Accueil')
@section('content')
<div class="main floating grid">
<div class="head-bloc"></div>
<section class="floating-bloc container flex">
<div class="floating--width flex">
<div class="floating--title">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/photo-canoe.png') }}" alt="">
<h1 class="post-title flex">
<div class="row flex">
</div>
</h1>
</div>
<div class="floating--txt flex">
<h2 class="raleway post-subtitle">Jouez et tentez de gagner</h2>
<div class="floating--gift flex">
<div class="gift--col flex">
<div class="gift--lot1 flex">
<div class="nb-lot1 flex">
<span>{{ $prizesGlobal[0]->quantity }}</span>
</div>
<h3 class="post-chapter">Wonderbox <br>Loisirs</h3>
</div>
<div class="gift--img">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot1.png') }}"
alt="Grand jeu 100% gagnant">
<div class="floating--sticker">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/pastille.png') }}"
alt="Grand jeu 100% gagnant">
</div>
</div>
</div>
<div class="gift--col flex">
<div class="gift--lot2 flex">
<div class="nb-lot2 flex">
<span>{{ $prizesGlobal[1]->quantity }}</span>
</div>
<h3 class="post-chapter">Wonderbox <br>Happy Day</h3>
</div>
<div class="lot2--img">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot2.png') }}" alt="Wonderbox Happy Day">
</div>
<div class="gift--br">
<p>Ou des milliers<br /> de bons<br />de réduction</p>
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/br-1-euro.png') }}" alt="Wonderbox Happy Day">
</div>
</div>
</div>
<div class="main-btn">
<a href="{{ route('saisir-code') }}">Jouer !</a>
</div>
</div>
</div>
</section>
<div id="howto"></div>
<section class="who-bloc container flex">
<div class="who--title">
<div class="who--rotate">
<h2 class="post-subtitle raleway">Comment jouer&nbsp;?</h2>
<p>Rien de plus simple&nbsp;! Suivez les 3 étapes décrites à droite et laissez-vous guider.</p>
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/how-to-play.png') }}" alt="">
</div>
</div>
<div class="who--details flex">
<div class="who--rotate">
<div class="details--bloc flex">
<div class="bloc--img flex">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-kart.png') }}"
alt="Acheter un produit porteur de l'offre">
</div>
<div class="bloc--txt">
<p>Achetez un produit Le Gaulois porteur de l'offre.</p>
<div class="main-btn tertiary-btn">
<a href="{{ route('produits-porteurs') }}">Voir la liste des produits porteurs</a>
</div>
</div>
</div>
<div class="details--bloc flex">
<div class="bloc--img flex">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-br.png') }}"
alt="Trouver le code au dos du sticker">
</div>
<div class="bloc--txt flex">
<p>Trouvez le code au dos du sticker, soit en le décollant du produit, soit en lisant en transparence.</p>
</div>
</div>
<div class="details--bloc flex">
<div class="bloc--img flex">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-tv.png') }}" alt="Inscrivez-vous sur ce site">
</div>
<div class="bloc--txt flex">
<p>Inscrivez-vous sur ce site, insérez votre code et découvrez ce que vous avez gagné&nbsp;!</p>
</div>
</div>
</div>
</div>
</section>
<div id="gifts"></div>
<section class="gift-bloc container flex">
<div class="gift--title">
<h2 class="post-subtitle raleway">Les cadeaux</h2>
</div>
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide flex">
<div class="swiper--img">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot1.png') }}" alt="Wonderbox Loisirs">
</div>
<div class="swiper--txt secondary-bg flex">
<div class="bloc--rotate">
<h3 class="post-chapter">Wonderbox<br />loisirs</h3>
<p class="big">1 activité pour 2 à 6 personnes</p>
<p>
1640 activités en famille : cinéma, visite d’un zoo ou d’un château, spectacle au théâtre, cirque, balade en
bateau, randonnée équestre, atelier culinaire…
Les petits et les grands vont se régaler : sortie à l’aquarium de Paris pour faire connaissance avec ses 10
000 pensionnaires, atelier culinaire pour savourer une bonne dose de bonheur, découverte du bassin de la
Villette en bateau électrique, rencontre avec le nouveau monde de Mini World Lyon…
</p>
</div>
</div>
</div>
<div class="swiper-slide flex">
<div class="swiper--img">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot2.png') }}" alt="Wonbderbox Happy Day">
</div>
<div class="swiper--txt flex">
<div class="bloc--rotate">
<h3 class="post-chapter">Wonderbox<br />Happy Day</h3>
<p class="big">1 activité pour 1 à 2 personnes</p>
<p>
Plus de 2500 activités : laser game, bowling, balade en canoë, cinéma, repas, dégustation de macarons…
Besoin d’une super activité pour déconnecter ? Soyez prêts, vous allez adorer cette journée : parties de
bowling endiablées à Châlons-en-Champagne, séance de Taï Chi ou de Wing Chung à Bordeaux ou pizza à déguster
face à Notre-Dame de Paris… Voici tout ce dont vous avez besoin pour apprécier un Happy Day !
</p>
</div>
</div>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
<div class="main-btn">
<a href="{{ route('saisir-code') }}">Jouer !</a>
</div>
</section>
</div>
{{--
<p>Société : {{$settingsGlobal->company}} et nom du jeu : {{$settingsGlobal->name}}</p>
<p>
<ul>Toutes les routes :
<li><a href="{{route('home')}}">Accueil</a></li>
<li><a href="{{route('teaser')}}">Teaser</a></li>
<li><a href="{{route('reglement')}}">Règlement</a></li>
<li><a href="{{route('charte')}}">Charte</a></li>
<li><a href="{{route('legals')}}">Mentions légales</a></li>
<li><a href="{{route('end')}}">Page de fin de jeu</a></li>
<li><a href="{{route('faq')}}">FAQ</a></li>
<li><a href="{{route('comment-jouer')}}">Comment jouer</a></li>
<li><a href="{{route('les-gains')}}">Les gains</a></li>
<li><a href="{{route('saisir-code')}}">Saisie du code (nécessite d'être connecté)</a></li>
<li><a href="{{route('login')}}">Login</a></li>
<li><a href="{{route('inscription')}}">Inscription</a></li>
</ul>
</p>
<p>Lots (valeur à 0 ou 1 : 0 = faux, 1 = vrai) :</p>
<table class="table table-border">
<thead class="thead-light">
<th scope="col">ID Arcadia</th>
<th scope="col">Label singulier</th>
<th scope="col">Label pluriel</th>
<th scope="col">Quantité</th>
<th scope="col">Notification activé</th>
<th scope="col">Formulaire suppl.</th>
<th scope="col">ID mail Arcadia</th>
<th scope="col">Pdf preuve de gain</th>
<th scope="col">Lot par défaut</th>
</thead>
<tbody>
@foreach ($prizesGlobal as $p)
<tr>
<td>{{$p->arcadia_id}}</td>
<td>{{$p->label_one}}</td>
<td>{{$p->label_many}}</td>
<td>{{$p->quantity}}</td>
<td>{{$p->notifications}}</td>
<td>{{$p->additional_form}}</td>
<td>{{$p->arcadia_mail_id}}</td>
<td><span class="badge badge-info">{{$p->pdf_winning_proof}}</span></td>
<td>{{$p->need_proof}}</td>
</tr>
@endforeach
</tbody>
</table>
<!-- Pour afficher un seul lot, remplacer le [0] par [1], [2], etc. -->
@if (isset($prizesGlobal[0]))
{{$prizesGlobal[0]->label_one}}
@endif
--}}
@endsection

View file

@ -44,7 +44,7 @@
<h3>En ligne @</h3>
<p>Renseignez l'adresse à laquelle vous souhaitez recevoir votre gain et téléversez vos preuves d'achat.</p>
</div>
<form method="POST" action="{{ route('send-winning-proof') }}" enctype="multipart/form-data">
<form method="POST" action="{{ route('fo.send-winning-proof') }}" enctype="multipart/form-data">
@method('PUT')
@csrf
@if ($errors->any())

View file

@ -1,46 +1,24 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<title>@yield('title') - {{ $settingsGlobal->name }}</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<head>@include('theme::fo.layouts.head')</head>
<!-- Favicon -->
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
<link href="{{ asset('apple-touch-icon.png') }}" rel="apple-touch-icon" sizes="180x180">
<link type="image/png" href="{{ asset('favicon-32x32.png') }}" rel="icon" sizes="32x32">
<link type="image/png" href="{{ asset('favicon-16x16.png') }}" rel="icon" sizes="16x16">
<link href="{{ asset('site.webmanifest') }}" rel="manifest">
<link href="{{ asset('safari-pinned-tab.svg') }}" rel="mask-icon" color="#d66868">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<body class="d-flex flex-column min-vh-100">
<header>
@include('theme::fo.layouts.header')
</header>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{-- <link rel="stylesheet" href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="./node_modules/swiper/swiper-bundle.css" />
<link rel="stylesheet" href="./node_modules/swiper/swiper-bundle.min.css" /> --}}
<!-- Scripts -->
<!-- <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script> -->
<main class="container-fluid @hasSection('main-class') @yield('main-class') @endif" id="content-container">
@yield('content')
</main>
<!-- Fonts -->
<link href="//fonts.gstatic.com" rel="dns-prefetch">
<footer class="container-fluid">
@include('theme::fo.layouts.footer')
</footer>
<!-- Styles -->
<link href="{{ Vite::asset('resources/theme/mounted/sass/fo.scss') }}" rel="stylesheet">
</head>
<body>
<div class="main-container">
@include('theme::fo.partials.header')
</div>
@yield('content')
@include('theme::fo.partials.footer')
<script src="{{ Vite::asset('resources/theme/mounted/ts/fo.ts') }}"></script>
{{-- @include('theme::fo.cookie') --}}
@include('theme::vendor.cn-cookies')
@vite(['resources/theme/mounted/ts/fo.ts'])
@stack('scripts')
</body>

View file

@ -0,0 +1,64 @@
<div class="row text-bg-primary">
<div class="col-12 col-md-9 col-xl-10">
{{-- Share LINKS --}}
<div class="d-inline-block fs-3 p-3">
<span>{{ __('Partagez le jeu sur') }}</span>
<div class="d-inline-block">
<div class="share d-inline-block ms-2" data-href="https://www.facebook.com/LeGauloisFrance/" data-layout="button"
data-size="small">
<a class="fb-xfbml-parse-ignore btn-link" href="https://www.facebook.com/LeGauloisFrance/"
onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=800,height=500,toolbar=1,resizable=0'); return false;">
@include('theme::fo.partials.icons.facebook')
</a>
</div>
<a class="share d-inline-block btn-link text-light mx-1" href="https://www.instagram.com/legaulois_officiel/"
target="_blank">
@include('theme::fo.partials.icons.instagram')
</a>
</div>
<span>
{{ __('Découvrez tous nos produits sur :link', ['link' => '']) }}
<a class="link-light" href="https://www.legaulois.fr/">Legaulois.fr</a>
</span>
</div>
{{-- LINKS --}}
<ul class="list-inline p-3">
<li class="list-inline-item">
<a class="link-light" href="{{ route('fo.reglement') }}">{{ __('Règlement du jeu') }}</a>
</li>
<li class="list-inline-item">
<a class="link-light" href="{{ route('fo.legals') }}">{{ __('Mentions légales') }}</a>
</li>
<li class="list-inline-item">
<a class="link-light" href="{{ route('fo.charte') }}">{{ __('Charte de confidentialité') }}</a>
</li>
<li class="list-inline-item">
<a class="link-light" href="{{ route('fo.faq') }}">{{ __('FAQ') }}</a>
</li>
<li class="list-inline-item">
<a class="link-light" href="https://www.legaulois.fr/contactez-nous" target="_blank">{{ __('Contact') }}</a>
</li>
<li class="list-inline-item">
<a class="link-light cn-cookie-link" href="#cookie"
title="{{ __('Gestion des cookies') }}">{{ __('Gestion des cookies') }}</a>
</li>
</ul>
</div>
<div class="col-12 col-md-3 col-xl-2 downlink text-md-end text-center">
<a class="link-light" href="https://www.legaulois.fr/" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<span class="text-uppercase fw-bold mb-md-0 d-block d-md-inline mb-4">www.legaulois.fr</span>
</a>
</div>
</div>
<button class="btn btn-link rounded-pill z-1" id="page-up">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/up-arrow.svg') }}" alt="↑">
</button>
@push('scripts')
<!-- Load Facebook SDK for JavaScript -->
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v10.0"
nonce="{{ $nonce ?? '' }}"></script>
@endpush

View file

@ -0,0 +1,49 @@
<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@hasSection('metaIndex')
<meta name="robots" content="@yield('metaIndex')">
@else
<meta name="robots" content="index, follow">
@endif
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="description" content="@yield('description')">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Open Graph -->
<meta property="og:title" content="{{ $settingsGlobal->name ?? config('app.name') }} - @yield('title')" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ config('app.url') }}" />
<meta property="og:site_name" content="{{ config('app.name') }}" />
<meta property="og:image" content="" />
<meta property="og:description" content="@yield('description')" />
<!-- Favicon -->
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
<link href="{{ asset('apple-touch-icon.png') }}" rel="apple-touch-icon" sizes="180x180">
<link type="image/png" href="{{ asset('favicon-32x32.png') }}" rel="icon" sizes="32x32">
<link type="image/png" href="{{ asset('favicon-16x16.png') }}" rel="icon" sizes="16x16">
<link href="{{ asset('site.webmanifest') }}" rel="manifest">
<link href="{{ asset('safari-pinned-tab.svg') }}" rel="mask-icon" color="#d66868">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<!-- Others -->
<title>{{ $settingsGlobal->name ?? config('app.name') }} - @yield('title')</title>
@if (config('app.debug'))
<script nonce="{{ $nonce }}">
window.vueDebug = true;
</script>
@endif
@hasSection('canonical')
<link href="@yield('canonical')" rel="canonical" />
@else
<link href="{{ \config('app.url') }}/{{ \request()->path() }}" rel="canonical" />
@endif
<!-- STYLES -->
@vite(['resources/theme/mounted/sass/fo.scss'])
@stack('styles')
<!-- Fonts -->
<link href="//fonts.gstatic.com" rel="dns-prefetch">

View file

@ -0,0 +1,92 @@
{{-- <header>
<div class="logo flex">
<div class="toggle-menu flex"><span></span></div>
</div>
<nav>
@guest
<div class="btn-connect flex">
<a href="{{ route('fo.login') }}">Je me connecte</a>
</div>
@else
<a class="logout-link" href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">Se
déconnecter</a><br>
<form id="logout-form" style="display: none;" action="{{ route('fo.logout') }}" method="POST">
@csrf
</form>
@endguest
</nav>
</header> --}}
<nav class="navbar navbar-expand-lg bg-body-tertiary shadow">
<div class="container-fluid">
<div class="d-flex flex-column-reverse flex-lg-column flex-grow-1">
<div class="navbar-collapse collapse" id="navbar-main-menu">
<ul class="navbar-nav mb-lg-0 mb-2 ms-auto">
<li class="nav-item">
<a class="fs-4 fw-bold nav-link @if (request()->routeIs('fo.home')) active @endif" href="{{ route('fo.home') }}/#howto"
@if (request()->routeIs('fo.home')) aria-current="page" @endif>{{ __('Comment jouer ?') }}</a>
</li>
<li class="nav-item">
<a class="fs-4 fw-bold nav-link" href="{{ route('fo.home') }}/#gifts">{{ __('Les cadeaux') }}</a>
</li>
<li class="nav-item">
<a class="fs-4 fw-bold nav-link link-danger @if (request()->routeIs('fo.saisir-code')) active @endif"
href="{{ route('fo.saisir-code') }}"
@if (request()->routeIs('fo.saisir-code')) aria-current="page" @endif>{{ __('Jouer !') }}</a>
</li>
<li class="nav-item">
<a class="fs-4 fw-bold nav-link @if (request()->routeIs('fo.produits-porteurs')) active @endif"
href="{{ route('fo.produits-porteurs') }}"
@if (request()->routeIs('fo.produits-porteurs')) aria-current="page" @endif>{{ __('Produits porteurs') }}</a>
</li>
<li class="nav-item">
@guest
<a class="btn btn-danger fw-bold fs-4" href="{{ route('fo.login') }}">{{ __('Je me connecte') }}</a>
@else
<form action="{{ route('fo.logout') }}" method="POST">
@csrf
<button class="btn btn-danger fw-bold fs-4">{{ __('Se déconnecter') }}</button>
</form>
@endguest
</li>
</ul>
</div>
<div class="position-relative container-fluid p-0">
<div class="row">
<div class="col-6">
<a class="navbar-brand d-inline-block" href="{{ route('fo.home') }}"
title="{{ __('Aller sur la page d\'accueil') }}">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/home_logo.png') }}"
alt="{{ $settingsGlobal->name ?? config('app.name') }} }}">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-gauloisirs.png') }}"
alt="{{ __('Logo Gauloisir') }}">
</a>
<button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbar-main-menu" type="button"
aria-controls="navbar-main-menu" aria-expanded="false" aria-label="{{ __('Afficher / Cacher le menu') }}">
<span class="navbar-toggler-icon"></span>
</button>
</div>
@if (collect($prizesGlobal)->count())
<div class="col-6 d-flex align-items-end g-0">
<div class="rest-in-game-banner text-bg-primary d-flex flex-grow-1">
<span>{{ __('Encore en jeu : ') }}</span>
@if (Arr::has($prizesGlobal, 0))
<span>{{ Arr::get($prizesGlobal, 0)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instant_wins)->where('won', true))->count() ?? 0) }}</span>
<span class="">{!! clean(nl2br(__("Wonderbox \n loisirs"))) !!}</span>
@endif
@if (Arr::has($prizesGlobal, 1))
<span>{{ Arr::get($prizesGlobal, 1)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instant_wins)->where('won', true))->count() ?? 0) }}</span>
<span class="">{!! clean(nl2br(__("Wonderbox \n Happy Day"))) !!}</span>
@endif
</div>
</div>
@endif
</div>
</div>
</div>
</div>
</nav>

View file

@ -44,7 +44,7 @@
<h3>En ligne @</h3>
<p>Renseignez l'adresse à laquelle vous souhaitez recevoir votre gain et téléversez vos preuves d'achat.</p>
</div>
<form method="POST" action="{{ route('send-winning-proof') }}" enctype="multipart/form-data">
<form method="POST" action="{{ route('fo.send-winning-proof') }}" enctype="multipart/form-data">
@method('PUT')
@csrf
@if ($errors->any())

View file

@ -23,7 +23,7 @@
<div class="mobile-menu flex">
<div class="signup--bloc flex">
<div class="btn-connect flex">
<a href="{{ route('inscription') }}">
<a href="{{ route('fo.inscription') }}">
<h1>Je m'inscris</h1>
</a>
</div>
@ -36,13 +36,13 @@
</a>
<div style="display:none">
<div class="flex" id="connect_edit">
<form class="flex" method="POST" action="{{ route('authenticate') }}">
<form class="flex" method="POST" action="{{ route('fo.authenticate') }}">
@csrf
<div class="edit--blocs flex">
<input id="" name="email" type="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"
placeholder="Email*" required>
<input id="" name="password" type="password" placeholder="Mot de passe*" required>
<a href="{{ route('forgot-password') }}">
<a href="{{ route('fo.forgot-password') }}">
<h2>Mot de passe oublié ?</h2>
</a>
<span>* Champs obligatoires</span>
@ -60,19 +60,19 @@
<h1 class="post-title raleway">Je m'inscris</h1>
<p>Pour participer et tenter votre chance, <br>inscrivez-vous&nbsp;!</p>
<div class="btn-connect flex">
<a href="{{ route('inscription') }}">Inscription</a>
<a href="{{ route('fo.inscription') }}">Inscription</a>
</div>
</div>
<div class="connect--bloc">
<h2 class="post-chapter raleway">Je me connecte</h2>
<p>Si vous possédez déjà un compte Club Le Gaulois, vous pouvez utiliser les mêmes identifiants.</p>
<form class="flex" id="connect--form" method="POST" action="{{ route('authenticate') }}">
<form class="flex" id="connect--form" method="POST" action="{{ route('fo.authenticate') }}">
@csrf
<div class="edit--blocs flex">
<input id="" name="email" type="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"
placeholder="Email*" required>
<input id="" name="password" type="password" placeholder="Mot de passe*" required>
<a href="{{ route('forgot-password') }}">
<a href="{{ route('fo.forgot-password') }}">
<h2>Mot de passe oublié ?</h2>
</a>
<span>* Champs obligatoires</span>

View file

@ -2,5 +2,5 @@
@section('content')
<p>C'est perdu</p>
<p><a class="btn btn-success" href="{{ route('saisir-code') }}">Rejouer !</a></p>
<p><a class="btn btn-success" href="{{ route('fo.saisir-code') }}">Rejouer !</a></p>
@endsection

View file

@ -95,7 +95,7 @@
<h2>En ligne @</h3>
<p>Renseignez l'adresse à laquelle vous souhaitez recevoir votre gain et téléversez vos preuves d'achat.</p>
</div>
<form method="POST" action="{{ route('send-winning-proof') }}" enctype="multipart/form-data">
<form method="POST" action="{{ route('fo.send-winning-proof') }}" enctype="multipart/form-data">
@method('PUT')
@csrf
@if ($errors->any())

View file

@ -96,7 +96,7 @@
<h2>En ligne @</h3>
<p>Renseignez l'adresse à laquelle vous souhaitez recevoir votre gain et téléversez vos preuves d'achat.</p>
</div>
<form method="POST" action="{{ route('send-winning-proof') }}" enctype="multipart/form-data">
<form method="POST" action="{{ route('fo.send-winning-proof') }}" enctype="multipart/form-data">
@method('PUT')
@csrf
@if ($errors->any())

View file

@ -0,0 +1,206 @@
@extends('theme::fo.layout')
@section('title', 'Accueil')
@section('main-class', 'home-page')
@section('content')
{{-- 1st row lots --}}
<section class="row position-relative text-xl-start text-center">
<div class="col d-none d-xl-flex g-0">
<img class="img-fluid object-fit-cover" src="{{ Vite::asset('resources/theme/mounted/assets/images/photo-canoe.png') }}"
alt="">
<h1 class="post-title flex"></h1>
</div>
<div class="col g-0 overflow-hidden">
<div class="container-fluid main-rotate mt-5">
<div class="row">
<div class="col">
<h2 class="text-uppercase text-primary fs-2 fw-bold ms-xl-5">{{ __('Jouez et tentez de gagner') }}</h2>
</div>
</div>
@if (collect($prizesGlobal)->count())
<div class="row">
@if (Arr::has($prizesGlobal, 0))
<div class="col-12 col-sm-6">
<div class="d-flex justify-content-center justify-content-xl-start">
<div class="ms-xl-5 me-2">
<span
class="bg-danger fs-3 rounded-pill fw-bold px-3 py-1 text-white">{{ optional(Arr::get($prizesGlobal, 0))->quantity }}</span>
</div>
<h3 class="text-danger fw-bold fs-3 text-uppercase lh-1">
{!! clean(nl2br(__("Wonderbox \nLoisirs"))) !!}
</h3>
</div>
<img class="img-fluid anti-rotate"
src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot1.png') }}"
title="{{ __('Wonderbox Loisir en famille') }}" alt="{{ __('Wonderbox Loisir en famille') }}">
</div>
@endif
@if (Arr::has($prizesGlobal, 1))
<div class="col-12 col-sm-6">
<div class="d-flex justify-content-center justify-content-xl-start">
<div class="ms-xl-5 me-2">
<span
class="bg-danger fs-3 rounded-pill fw-bold px-3 py-1 text-white">{{ optional(Arr::get($prizesGlobal, 1))->quantity }}</span>
</div>
<h3 class="text-danger fw-bold fs-3 text-uppercase lh-1">
{!! clean(nl2br(__("Wonderbox \nHappy Day"))) !!}
</h3>
</div>
<div class="lot2--img">
<img class="img-fluid anti-rotate"
src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot2.png') }}"
title="{{ __('Wonderbox Happy Day') }}" alt="{{ __('Wonderbox Happy Day') }}">
</div>
<div class="d-flex align-items-center justify-content-center flex-column flex-lg-row mt-3">
<span class="text-primary fw-bold text-uppercase">{!! clean(nl2br(__("Ou des milliers\n de bons\n de réduction"))) !!}</span>
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/br-1-euro.png') }}"
title="{{ __('Réduction de 1 euro') }}" alt="{{ __('Réduction de 1 euro') }}">
</div>
</div>
@endif
</div>
@endif
</div>
<img class="picture-100-win position-absolute img-fluid d-none d-xl-inline top-0 mt-3"
src="{{ Vite::asset('resources/theme/mounted/assets/images/pastille.png') }}" alt="{{ __('Grand jeu 100% gagnant') }}">
</div>
</section>
{{-- BTN JOUER --}}
<div class="row mb-3 mt-5">
<div class="col d-flex justify-content-center">
<a class="btn btn-lg btn-danger fs-2 fw-bold text-uppercase px-5 py-1"
href="{{ route('fo.saisir-code') }}">{{ __('Jouer !') }}</a>
</div>
</div>
{{-- 2nd Row how to play --}}
<section class="row text-bg-primary p-md-3 py-3" id="howto">
<div class="col-12 col-md-5 mb-3 pt-2 text-center">
<h2 class="fs-1 fw-bold">{{ __("Comment jouer\u{00A0}?") }}</h2>
<span
class="fs-3 fw-bold">{{ __("Rien de plus simple\u{00A0}! Suivez les 3 étapes décrites à droite et laissez-vous guider.") }}</span>
<div class="d-flex justify-content-center">
<img class="img-fluid picture-products" src="{{ Vite::asset('resources/theme/mounted/assets/images/how-to-play.png') }}"
title="{{ __('Plusieurs produits de la marque Le Gaulois') }}"
alt="{{ __('Plusieurs produits de la marque Le Gaulois') }}">
</div>
</div>
<div class="col d-flex mb-3 flex-row">
<div class="d-flex flex-column justify-content-evenly px-md-3 pe-3">
<div class="rounded-pill badge-vertical bg-white">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-kart.png') }}"
title="{{ __('Achetez un produit Le Gaulois porteur de l\'offre.') }}" alt="{{ __('Un panier de course') }}">
</div>
<div class="rounded-pill badge-vertical bg-white">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-br.png') }}"
title="{{ __('Trouver le code au dos du sticker') }}" alt="{{ __('Un sticker du jeu') }}">
</div>
<div class="rounded-pill badge-vertical bg-white">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-tv.png') }}"
title="{{ __('Inscrivez-vous sur ce site') }}" alt="{{ __('Un écran d\'ordinateur avec un cadeau en son centre') }}">
</div>
</div>
<div class="d-flex justify-content-center flex-column ps-lg-3">
<div class="mb-1">
<span class="h2">{{ __('Achetez un produit Le Gaulois porteur de l\'offre.') }}</span>
</div>
<div class="mb-5 text-center">
<a class="btn btn-warning fw-bold text-uppercase"
href="{{ route('fo.produits-porteurs') }}">{{ __('Voir la liste des produits porteurs') }}</a>
</div>
<div class="mb-5">
<span
class="h2">{{ __('Trouvez le code au dos du sticker, soit en le décollant du produit, soit en lisant en transparence.') }}</span>
</div>
<div class="">
<span
class="h2">{{ __("Inscrivez-vous sur ce site, insérez votre code et découvrez ce que vous avez gagné\u{00A0}!") }}</span>
</div>
</div>
</div>
</section>
{{-- 3 row gifts --}}
<section class="row" id="gifts">
<div class="col g-0">
<div class="mt-4 p-1 text-center">
<h2 class="fs-1 text-warning text-uppercase fw-bold">{{ __('Les cadeaux') }}</h2>
</div>
<div class="carousel slide mt-5" id="carousel-lots" data-bs-pause="false" data-bs-touch="true">
<div class="carousel-indicators">
<button class="btn-control btn btn-sm btn-link ms-1 mt-1" id="coupons-carousel-play-btn">
<i class="fa-solid fa-play"></i>
<i class="fa-solid fa-pause d-none"></i>
</button>
<button class="bg-warning active" data-bs-target="#carousel-lots" data-bs-slide-to="0" type="button" aria-current="true"
aria-label="{{ __('Slide :n', ['n' => 1]) }}"></button>
<button class="bg-warning" data-bs-target="#carousel-lots" data-bs-slide-to="1" type="button"
aria-label="{{ __('Slide :n', ['n' => 2]) }}"></button>
</div>
<div class="carousel-inner overflow-visible">
<div class="carousel-item active overflow-visible">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-md-4 col-lg-6 text-md-end text-center">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot1.png') }}"
title="{{ __('Wonderbox Loisir en famille') }}" alt="{{ __('Wonderbox Loisir en famille') }}">
</div>
<div class="col d-flex justify-content-start align-items-center overflow-visible">
<div
class="d-inline-block text-bg-warning main-rotate carousel-text-pannel mx-md-5 p-md-5 overflow-visible">
<div class="anti-rotate m-3 p-1">
<h3 class="fs-3 text-md-start text-center">{!! clean(nl2br(__("Wonderbox \n loisirs"))) !!}</h3>
<p>{{ __('1 activité pour 2 à 6 personnes') }}</p>
<p>{{ __('1640 activités en famille : cinéma, visite d’un zoo ou d’un château, spectacle au théâtre, cirque, balade en bateau, randonnée équestre, atelier culinaire… Les petits et les grands vont se régaler : sortie à l’aquarium de Paris pour faire connaissance avec ses 10 000 pensionnaires, atelier culinaire pour savourer une bonne dose de bonheur, découverte du bassin de la Villette en bateau électrique, rencontre avec le nouveau monde de Mini World Lyon…') }}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="carousel-item overflow-visible">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-md-4 col-lg-6 text-md-end text-center">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/view-lot2.png') }}"
title="{{ __('Wonderbox Happy Day') }}" alt="{{ __('Wonderbox Happy Day') }}">
</div>
<div class="col d-flex justify-content-center align-items-center overflow-visible">
<div
class="d-inline-block text-bg-warning main-rotate carousel-text-pannel mx-md-5 p-md-5 overflow-visible">
<div class="anti-rotate m-3 p-1">
<h3 class="fs-3 text-md-start text-center">{!! clean(nl2br(__("Wonderbox \n Happy Day"))) !!}</h3>
<p>{{ __('1 activité pour 1 à 2 personnes') }}</p>
<p>{{ __('Plus de 2500 activités : laser game, bowling, balade en canoë, cinéma, repas, dégustation de macarons… Besoin d’une super activité pour déconnecter ? Soyez prêts, vous allez adorer cette journée : parties de bowling endiablées à Châlons-en-Champagne, séance de Taï Chi ou de Wing Chung à Bordeaux ou pizza à déguster face à Notre-Dame de Paris… Voici tout ce dont vous avez besoin pour apprécier un Happy Day !') }}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<button class="carousel-control-prev" data-bs-target="#carousel-lots" data-bs-slide="prev" type="button">
<span class="carousel-control-prev-icon btn btn-primary rounded-pill p-3" aria-hidden="true"></span>
<span class="visually-hidden">{{ __('pagination.previous') }}</span>
</button>
<button class="carousel-control-next" data-bs-target="#carousel-lots" data-bs-slide="next" type="button">
<span class="carousel-control-next-icon btn btn-primary rounded-pill p-3" aria-hidden="true"></span>
<span class="visually-hidden">{{ __('pagination.next') }}</span>
</button>
</div>
</div>
</section>
{{-- BTN JOUER --}}
<div class="row mb-3 mt-5">
<div class="col d-flex justify-content-center">
<a class="btn btn-lg btn-danger fs-2 fw-bold text-uppercase px-5 py-1"
href="{{ route('fo.saisir-code') }}">{{ __('Jouer !') }}</a>
</div>
</div>
@endsection

View file

@ -1,82 +0,0 @@
<footer class="main-container">
{{-- <div class="footer--frise">
<img src="{{asset('front/assets/images/frise.svg')}}" alt="frise">
</div> --}}
<div class="footer--logo">
<a href="https://www.legaulois.fr/" target="_blank">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<span>www.legaulois.fr</span>
</a>
</div>
<div class="footer--txt flex">
<div class="footer--share flex">
<p>Partagez le jeu sur</p>
<div id="fb-root"></div>
<div class="footer--socials flex">
<div class="fb-share" data-href="https://www.facebook.com/LeGauloisFrance/" data-layout="button" data-size="small">
<a class="fb-xfbml-parse-ignore" href="https://www.facebook.com/LeGauloisFrance/"
onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=800,height=500,toolbar=1,resizable=0'); return false;">
<svg id="Capa_1" style="enable-background:new 0 0 512 512;" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
<title>Page Facebook Le Gaulois</title>
<g>
<path d="M452,0H60C26.916,0,0,26.916,0,60v392c0,33.084,26.916,60,60,60h392c33.084,0,60-26.916,60-60V60
C512,26.916,485.084,0,452,0z M472,452c0,11.028-8.972,20-20,20H338V309h61.79L410,247h-72v-43c0-16.975,13.025-30,30-30h41v-62
h-41c-50.923,0-91.978,41.25-91.978,92.174V247H216v62h60.022v163H60c-11.028,0-20-8.972-20-20V60c0-11.028,8.972-20,20-20h392
c11.028,0,20,8.972,20,20V452z" />
</g>
</svg>
</a>
</div>
<a href="https://www.instagram.com/legaulois_officiel/" target="_blank">
<svg id="Capa_1" style="enable-background:new 0 0 512 512;" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
<title>Page Instagram Le Gaulois</title>
<g>
<path d="M363.273,0H148.728C66.719,0,0,66.719,0,148.728v214.544C0,445.281,66.719,512,148.728,512h214.544
C445.281,512,512,445.281,512,363.273V148.728C512,66.719,445.281,0,363.273,0z M472,363.272C472,423.225,423.225,472,363.273,472
H148.728C88.775,472,40,423.225,40,363.273V148.728C40,88.775,88.775,40,148.728,40h214.544C423.225,40,472,88.775,472,148.728
V363.272z" />
</g>
<g>
<path d="M256,118c-76.094,0-138,61.906-138,138s61.906,138,138,138s138-61.906,138-138S332.094,118,256,118z M256,354
c-54.037,0-98-43.963-98-98s43.963-98,98-98s98,43.963,98,98S310.037,354,256,354z" />
</g>
<g>
<circle cx="396" cy="116" r="20" />
</g>
</svg>
</a>
</div>
<p>Découvrez tous nos produits sur <a href="https://www.legaulois.fr/">Legaulois.fr</a></p>
</div>
<!-- <div class="footer--news">
<form class="flex" method="POST" action="">
<input id="email" name="email" type="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" placeholder="Inscrivez-vous à notre newsletter">
<input class="btn" type="submit" value="Valider">
</form>
<div class="response"></div>
</div> -->
<div class="footer--legals footer-links flex">
<a href="{{ route('reglement') }}">Règlement du jeu</a>
<p>|</p>
<a href="{{ route('legals') }}">Mentions légales</a>
<p>|</p>
<a href="{{ route('charte') }}">Charte de confidentialité</a>
<p>|</p>
<a href="{{ route('faq') }}">FAQ</a>
<p>|</p>
<a href="https://www.legaulois.fr/contactez-nous" target="_contact">Contact</a>
<p>|</p>
<a class="ldcweb-cn-cookie-link" href="#cookie" title="gestion des cookies">Gestion des cookies</a>
</div>
</div>
<div class="pageup"><a href="#"><img src="{{ Vite::asset('resources/theme/mounted/assets/images/up-arrow.svg') }}"
alt="Haut de page"></a></div>
</footer>
@include('theme::fo.cookie')
<!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v10.0"
nonce="{{ $nonce ?? '' }}"></script>

View file

@ -1,51 +0,0 @@
<header class="grid">
<div class="logo flex">
<a href="{{ route('home') }}">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/home_logo.png') }}" alt="Le gaulois - Les Gauloisirs">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-gauloisirs.png') }}">
</a>
<div class="toggle-menu flex"><span></span></div>
</div>
<nav>
<ul class="flex">
<li><a href="{{ route('home') }}/#howto">Comment jouer ?</a></li>
<li><a href="{{ route('home') }}/#gifts">Les cadeaux</a></li>
<li><a class="color-red" href="{{ route('saisir-code') }}">Jouer !</a></li>
<li><a href="{{ route('produits-porteurs') }}">Produits porteurs</a></li>
</ul>
@guest
<div class="btn-connect flex">
<a href="{{ route('login') }}">Je me connecte</a>
</div>
@else
<a class="logout-link" href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">Se
déconnecter</a><br>
<form id="logout-form" style="display: none;" action="{{ route('logout') }}" method="POST">
@csrf
</form>
@endguest
</nav>
@if (collect($prizesGlobal)->count())
<div class="rest-in-game flex">
<span>Encore en jeu : </span>
@if (Arr::has($prizesGlobal, 0))
<div class="bloc-lot1 flex">
<div class="nb-lot1 flex">
<span>{{ Arr::get($prizesGlobal, 0)->quantity - (optional(optional(Arr::get($prizesGlobal, 0)->instant_wins)->where('won', true))->count() ?? 0) }}</span>
</div>
<span class="txt-lot1">Wonderbox <br />loisirs</span>
</div>
@endif
@if (Arr::has($prizesGlobal, 1))
<span></span>
<div class="bloc-lot2 flex">
<div class="nb-lot2 flex">
<span>{{ Arr::get($prizesGlobal, 1)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instant_wins)->where('won', true))->count() ?? 0) }}</span>
</div>
<span class="txt-lot2">Wonderbox <br />Happy Day</span>
</div>
@endif
</div>
@endif
</header>

View file

@ -0,0 +1,10 @@
<svg id="Capa_1" style="enable-background:new 0 0 512 512;" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
<title>{{ __('Page Facebook Le Gaulois') }}</title>
<g>
<path d="M452,0H60C26.916,0,0,26.916,0,60v392c0,33.084,26.916,60,60,60h392c33.084,0,60-26.916,60-60V60
C512,26.916,485.084,0,452,0z M472,452c0,11.028-8.972,20-20,20H338V309h61.79L410,247h-72v-43c0-16.975,13.025-30,30-30h41v-62
h-41c-50.923,0-91.978,41.25-91.978,92.174V247H216v62h60.022v163H60c-11.028,0-20-8.972-20-20V60c0-11.028,8.972-20,20-20h392
c11.028,0,20,8.972,20,20V452z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 724 B

View file

@ -0,0 +1,17 @@
<svg id="Capa_1" style="enable-background:new 0 0 512 512;" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
<title>{{ __('Page Instagram Le Gaulois') }}</title>
<g>
<path d="M363.273,0H148.728C66.719,0,0,66.719,0,148.728v214.544C0,445.281,66.719,512,148.728,512h214.544
C445.281,512,512,445.281,512,363.273V148.728C512,66.719,445.281,0,363.273,0z M472,363.272C472,423.225,423.225,472,363.273,472
H148.728C88.775,472,40,423.225,40,363.273V148.728C40,88.775,88.775,40,148.728,40h214.544C423.225,40,472,88.775,472,148.728
V363.272z" />
</g>
<g>
<path d="M256,118c-76.094,0-138,61.906-138,138s61.906,138,138,138s138-61.906,138-138S332.094,118,256,118z M256,354
c-54.037,0-98-43.963-98-98s43.963-98,98-98s98,43.963,98,98S310.037,354,256,354z" />
</g>
<g>
<circle cx="396" cy="116" r="20" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1,010 B

View file

@ -1,8 +1,8 @@
<header class="grid">
<div class="logo flex">
<a href="{{ route('home') }}">
<img src="{{asset('front/assets/images/home_logo.png')}}" alt="Le gaulois - Les Gauloisirs">
<img src="{{asset('front/assets/images/logo-gauloisirs.png')}}">
<a href="{{ route('fo.home') }}">
<img src="{{ asset('front/assets/images/home_logo.png') }}" alt="Le gaulois - Les Gauloisirs">
<img src="{{ asset('front/assets/images/logo-gauloisirs.png') }}">
</a>
</div>
<nav>

View file

@ -47,7 +47,7 @@
<div class="play--bloc">
<p class="strong">Vous possédez un autre code&nbsp;?</p>
<div class="main-btn">
<a href="{{ route('saisir-code') }}">Je rejoue</a>
<a href="{{ route('fo.saisir-code') }}">Je rejoue</a>
</div>
</div>
</div>
@ -63,7 +63,7 @@
</div>
<p class="strong">Vous possédez un autre code&nbsp;?</p>
<div class="main-btn">
<a href="{{ route('saisir-code') }}">Je rejoue</a>
<a href="{{ route('fo.saisir-code') }}">Je rejoue</a>
</div>
</div>
</div>

View file

@ -20,14 +20,14 @@
@endif
</div>
<div class="form-inscription1">
<form class="flex" name="inscriptionForm" action="{{ route('register') }}" method="POST" novalidate="novalidate">
<form class="flex" name="inscriptionForm" action="{{ route('fo.register') }}" method="POST" novalidate="novalidate">
@csrf
<p class="section">Votre profil</p>
<!-- <select name="civilite">
<option value="1">Mr</option>
<option value="2">Mme</option>
<option value="3">Mlle</option>
</select> -->
<option value="1">Mr</option>
<option value="2">Mme</option>
<option value="3">Mlle</option>
</select> -->
<input name="firstname" type="text" value="{{ old('firstname') }}" placeholder="Prénom*" maxlength="50" required>
<input name="lastname" type="text" value="{{ old('lastname') }}" placeholder="Nom*" maxlength="50" required>
<input name="birth_date" type="date" value="{{ old('birth_date') }}" placeholder="Date de naissance*" required>
@ -57,7 +57,7 @@
</div>
<div class="check-holder flex">
<input id="check" name="reglement" type="checkbox">
<label for="check">J’ai lu et j’accepte le <a href="{{ route('reglement') }}">règlement*</a></label>
<label for="check">J’ai lu et j’accepte le <a href="{{ route('fo.reglement') }}">règlement*</a></label>
</div>
</div>
<input name="action" type="hidden" value="inscription_jeu">

View file

@ -11,7 +11,7 @@
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="main-btn">
<a href="{{ route('saisir-code') }}">Je rejoue</a>
<a href="{{ route('fo.saisir-code') }}">Je rejoue</a>
</div>
</section>
</div>

View file

@ -192,7 +192,7 @@
<td role="presentation"
style="border:none;border-radius:0;cursor:auto;mso-padding-alt:10px 25px;background:#e30613;"
align="center" bgcolor="#e30613" valign="middle">
<a href="{{ route('confirm-email', ['verifyToken' => $user->email_verify_token, 'email' => $user->email]) }}"
<a href="{{ route('fo.confirm-email', ['verifyToken' => $user->email_verify_token, 'email' => $user->email]) }}"
style="display:inline-block;background:#e30613;color:white;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:0;"
target="_blank">
Je confirme mon inscription

View file

@ -4,7 +4,7 @@
@section('content')
<p>Envoyer vos preuves de gain</p>
<form method="POST" action="{{ route('send-winning-proof') }}" enctype="multipart/form-data">
<form method="POST" action="{{ route('fo.send-winning-proof') }}" enctype="multipart/form-data">
@method('PUT')
@csrf
@if ($errors->any())

View file

@ -4,7 +4,7 @@
$site_name = Str::ucfirst(config('app.name'));
$logo_picture_url = Vite::asset('resources/theme/mounted/assets/images/home_logo.png', 'build');
$logo_alt_text = "Logo {$site_name}";
$confidentiality_page_url = route('fo.policies.show');
$confidentiality_page_url = route('fo.charte');
$strings = (object)[
'button_customize_cookies' => __('cookie-notice.button_customize_cookies'),
@ -78,7 +78,7 @@ SCRIPT;
@endphp
{{-- INCLUDE TEMPLATE --}}
@include('vendor.cookie-notice-templates.standard', compact(
@include('theme::vendor.cookie-notice-templates.standard', compact(
'site_name', 'logo_picture_url', 'logo_alt_text',
'confidentiality_page_url', 'strings'
))

View file

@ -42,7 +42,7 @@
dans votre navigateur afin de se souvenir de ne pas suivre vos préférences. Certaines fonctionnalités ne seront pas
accessibles.
Vous pouvez changer d’avis et modifier votre consentement à tout moment en revenant sur ce site.
Pour en savoir plus sur les cookies que nous utilisons, consultez notre <a href="{{ route('charte') }}">charte de
Pour en savoir plus sur les cookies que nous utilisons, consultez notre <a href="{{ route('fo.charte') }}">charte de
confidentialité</a>.</p>
</div>
<div class="ldcweb-banner-btnDetails">
@ -105,7 +105,7 @@
</div>
@push('scripts')
<script>
{{-- <script>
window.LdcwebCn = new LdcwebCn({
'analytics': {
'name': "MESURES D'AUDIENCE - Google Analytics",
@ -133,5 +133,5 @@
}
}
});
</script>
</script> --}}
@endpush