fix: 🐛 update club guest home

This commit is contained in:
Alexis Gousseau 2024-07-24 17:13:44 +02:00
parent 75f1c8d16a
commit b72d9db155
48 changed files with 396 additions and 432 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

View file

@ -0,0 +1,9 @@
<svg width="29" height="32" viewBox="0 0 29 32" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="21.3904" height="25.691" transform="matrix(-0.950958 0.309319 0.308715 0.951155 21.0703 0)" fill="url(#pattern0_3911_26857)"/>
<defs>
<pattern id="pattern0_3911_26857" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3911_26857" transform="matrix(0.0261098 0 0 0.0217391 -0.00914101 0)"/>
</pattern>
<image id="image0_3911_26857" width="39" height="46" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAuCAYAAACrrAD9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAE9GlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNy4yLWMwMDAgNzkuMWI2NWE3OWI0LCAyMDIyLzA2LzEzLTIyOjAxOjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjMuNSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjMtMDItMDlUMDk6NDY6MDErMDE6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIzLTAyLTA5VDEyOjExOjQwKzAxOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIzLTAyLTA5VDEyOjExOjQwKzAxOjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpjOWMyNWRiMC01NjI3LTQ0MWYtYjUyNS0xMzdjODAyMzdkZjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6YzljMjVkYjAtNTYyNy00NDFmLWI1MjUtMTM3YzgwMjM3ZGY3IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6YzljMjVkYjAtNTYyNy00NDFmLWI1MjUtMTM3YzgwMjM3ZGY3Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpjOWMyNWRiMC01NjI3LTQ0MWYtYjUyNS0xMzdjODAyMzdkZjciIHN0RXZ0OndoZW49IjIwMjMtMDItMDlUMDk6NDY6MDErMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMy41IChNYWNpbnRvc2gpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrJMnVAAAAMRSURBVFiF7dhNiNVVGMfxz51GyUTHXinUtNBSKmgVlLaQIIqoVdSyF4JgFi6CNkVvy9oaFNQiImplSG8StghtEVHLZCpJIzEyJ4lG03GcX4vzvzhN9/V/pzsQ84UDl/895zm///M85/mfcxpJ1OAOvIO9+AK7MV3HUEeS9NvuSjKdf7Kzhp2urc6gvfk3p5I8nWR5klVJVi+EuJEazv4Q83PhEjyGP3EMB/AqrsTyYYZVkjuTHEwy0cKLczmaZLzy5lDCOretSHK4i8AkOZ3khWGLk2R9kmeT/NFF4GSSB4YtrtmuTrI5yaEk55PMtBB4MslTSW4Ytri5ntyWZE8bD86krO4XF0Ncs92S5I3Ki63Yn2RkscQ12xNpnY8zSR7qNLZOneuXN3GbUv/mchFWdBrYSGp9W+uwCjuwBS9Xz27CwXYDhiluLs/hEN7r1GmxxPXEMHKuNkvi6vK/F7d8np1r0ah+X6GUjs1KXeuL0TbPN1QTHGnz/3o8gjXVpDsqW8eV2vUlluH2qg98gB+qfruxEYexHbP4BZP4pDlJs5SM4x7lkHIzNlWTHsDnuB7vYgyP4lZc1e3Ne+Bc9RJNjuIZ/IT9jST34iPdQ/wrZrB2AUR1YxYPN5JM4MYhTNgvJ0aUULXjTBcDv+FnJTxNnsQuJf/gdyWXznexdXK+uEaSdXhQWQR/KWEbU3JsD67BfcqK+0bJxWVKmD9WQjCK65TU+K4yvgYX44SSDltwKU67sIJHcRb78HU19/1YibeWvq11WRJXlyVxdVkSV5clcS24DJd36zQscauVz9467MSEsh3bha1tR/3HVxFbkzyf5FzKPd6pFtcSU0m2D/OuZFuS15OcaSGmFZ+2stNumz4Ij+OlKoTdmMS3+KzlvwvorZVJNiU50qO3ppLc3cnmoJ4bw2vKAWda2VhumNdnRtm0NvA+flQOO99jqpPxQfdzk0pZ6MQxZSO6sRLUM4OWkk5n0X1KCVmreLUvYbQ/t/bKcRfOILN4WzkyvqKcXc8OZH3ARTCecuf7VXq4gO63/Q0EOtGpcHNlGwAAAABJRU5ErkJggg=="/>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

View file

@ -1,108 +1,15 @@
// .nav-link.active {
// color: $primary;
// font-weight: bold;
// }
// * Overload colors
// .text-bg-secondary {
// color: $color-hex-dark-blue !important;
// }
// .text-bg-success {
// color: $color-hex-dark-blue !important;
// }
// .text-bg-warning {
// color: $color-hex-dark-blue !important;
// }
// .text-bg-light {
// color: $color-hex-dark-blue !important;
// }
// .btn-secondary {
// $value: $color-secondary;
// $color: $color-primary;
// @include button-variant(
// $value,
// $value,
// $color: $color,
// $active-color: $color,
// $hover-color: $color,
// $disabled-color: $color,
// $hover-background: tint-color($value, $btn-hover-bg-tint-amount),
// $hover-border: tint-color($value, $btn-hover-border-tint-amount),
// $active-background: tint-color($value, $btn-active-bg-tint-amount),
// $active-border: tint-color($value, $btn-active-border-tint-amount)
// );
// }
// .btn-warning {
// $value: $color-warning;
// $color: $color-primary;
// @include button-variant(
// $value,
// $value,
// $color: $color,
// $active-color: $color,
// $hover-color: $color,
// $disabled-color: $color,
// $hover-background: tint-color($value, $btn-hover-bg-tint-amount),
// $hover-border: tint-color($value, $btn-hover-border-tint-amount),
// $active-background: tint-color($value, $btn-active-bg-tint-amount),
// $active-border: tint-color($value, $btn-active-border-tint-amount)
// );
// }
// .btn-light {
// $value: $color-light;
// $color: $color-primary;
// @include button-variant(
// $value,
// $value,
// $color: $color,
// $active-color: $color,
// $hover-color: $color,
// $disabled-color: $color,
// $hover-background: tint-color($value, $btn-hover-bg-tint-amount),
// $hover-border: tint-color($value, $btn-hover-border-tint-amount),
// $active-background: tint-color($value, $btn-active-bg-tint-amount),
// $active-border: tint-color($value, $btn-active-border-tint-amount)
// );
// }
.dropdown-menu {
overflow: hidden;
}
// .link-light {
// $enable-important-utilities: true;
.overflow-md-0 {
@include media-breakpoint-up(md) {
overflow: visible !important;
}
}
// color: RGB(var(--#{$prefix}light-rgb) var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
// text-decoration-color: RGB(var(--#{$prefix}light-rgb) var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
// @if $link-shade-percentage != 0 {
// $value: $color-light;
// $link-shade-percentage: 60%;
// &:hover,
// &:focus {
// $hover-color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
// color: RGBA(#{to-rgb($hover-color)}, var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);
// text-decoration-color: RGBA(to-rgb($hover-color), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);
// }
// }
// }
// .form-select,
// .form-select:hover,
// .form-select:focus-visible, {
// > option:hover,
// > option:focus-visible {
// background-color: #f00 !important;
// }
// }
.overflow-xl-0 {
@include media-breakpoint-up(xl) {
overflow: visible !important;
}
}

View file

@ -19,6 +19,47 @@
}
}
.title-red {
position: absolute;
top: -2.5rem;
left: -2rem;
padding: .3rem;
background-color: $color-danger;
transform: rotate(-3deg);
}
.title-yellow {
position: absolute;
right: -2rem;
bottom: -2.5rem;
padding: .3rem;
background-color: $color-warning;
transform: rotate(-3deg);
&::before,
&::after {
position: absolute;
width: 2rem;
height: 2rem;
background-image: url('@/images/club/homepage/title-lines.svg');
background-position: center;
background-repeat: no-repeat;
background-size: contain;
content: '';
}
&::before {
bottom: -1rem;
left: -2rem;
transform: rotate(180deg);
}
&::after {
top: -1rem;
right: -2rem;
}
}
// Common sections
.section-page-header {
.header-icon {

View file

@ -16,7 +16,7 @@
@import "./base/layout";
// * PAGES
@import "./pages/auth/login";
@import "./pages/auth";
@import "./pages/home";
@import "./pages/account";

View file

@ -1,4 +1,6 @@
.page.login {
.page.login,
.page.register,
.page.email {
background-image: url('@/images/club/auth/bg-bottom-left.svg');
background-position: left bottom;
background-repeat: no-repeat;

View file

@ -1,52 +1,79 @@
.card-club-info {
width: 16.881rem;
height: 19.694rem;
flex-shrink: 0;
.cards-wrapper {
padding-top: 1rem;
padding-bottom: 6rem;
&:nth-child(2n) {
transform: rotate(2deg);
}
.card-club-info {
width: 16.881rem;
height: 19.694rem;
flex-shrink: 0;
transition: .3s;
&:nth-child(2n+1) {
transform: rotate(-1deg);
}
@include media-breakpoint-up(sm) {
width: 15.536rem;
height: 18.469rem;
}
@include media-breakpoint-up(md) {
width: 22.5rem;
height: 26.25rem;
}
.card-img-top {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-body {
position: relative;
.info-tag {
position: absolute;
top: -1rem;
left: 0;
@include media-breakpoint-up(sm) {
width: 15.536rem;
height: 18.469rem;
}
.card-text {
/* stylelint-disable-next-line value-no-vendor-prefix */
display: -webkit-box;
overflow: hidden;
margin: 1.85rem .92rem;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
text-align: center;
text-overflow: ellipsis;
white-space: normal;
@include media-breakpoint-up(md) {
width: 22.5rem;
height: 26.25rem;
}
@include media-breakpoint-up(xl) {
&:hover {
z-index: 1;
margin-top: -2rem !important;
opacity: 1 !important;
}
}
.card-img-top {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-body {
position: relative;
.info-tag {
position: absolute;
top: -1rem;
left: 1rem;
}
.card-text {
/* stylelint-disable-next-line value-no-vendor-prefix */
display: -webkit-box;
overflow: hidden;
margin: 1.85rem .92rem;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
text-align: center;
text-overflow: ellipsis;
white-space: normal;
}
}
}
a:nth-child(2n+1) .card-club-info {
transform: rotate(-2deg);
}
a:nth-child(2n+2) .card-club-info {
transform: translateY(4rem) rotate(2deg);
}
a:nth-child(2n+3) .card-club-info {
transform: translateY(2rem) rotate(-2deg);
}
@include media-breakpoint-up(xl) {
width: fit-content;
margin: auto;
&:hover .card-club-info {
opacity: .5;
}
}
}

View file

@ -1,10 +1,9 @@
@extends('club.layout')
@section('title', __('Connexion'))
@section('description',
__('Formulaire de connexion au club :appname', [
@section('description', __('Formulaire de connexion au club :appname', [
'appname' => config('app.name'),
]))
]))
@section('breadcrumb', request()->route()->getName())
@section('container-fluid', true)
@ -15,7 +14,6 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="row justify-content-center mb-5">
<div class="col-12 mb-5 text-center">
<h1 class="f-bourton-base text-uppercase">{{ __('Je me connecte') }}</h1>
@ -24,14 +22,14 @@
<form method="POST" action="{{ route('club.login') }}">
@csrf
<div class="row justify-content-center mb-3">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">{{ __('Adresse Email') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">
{{ __('Adresse Email') }}
</label>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-lg-6">
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email" type="email"
value="{{ old('email') }}" autocomplete="email" autofocus required>
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email"
type="email" value="{{ old('email') }}" placeholder="{{ __('ex: monemail@mail.com') }}" autocomplete="email" autofocus required>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
@ -40,10 +38,12 @@
</div>
</div>
<div class="row justify-content-center mb-3">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-5 p-1 ps-2" for="password">{{ __('Mot de passe') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-5 p-1 ps-2" for="password">
{{ __('Mot de passe') }}
</label>
<div class="col-lg-6">
<input class="form-control @error('password') is-invalid @enderror" id="password" name="password" type="password"
autocomplete="current-password" required>
<input class="form-control @error('password') is-invalid @enderror" id="password" name="password"
type="password" autocomplete="current-password" required>
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
@ -55,7 +55,7 @@
<div class="col mb-3 text-center">
@if (Route::has('club.password.request'))
<span>{!! clean(
__('Oups j\'ai oublié :startSpan mon mot de passe:endSpan', [
__('Oups j’ai oublié :startSpan mon mot de passe:endSpan', [
'startSpan' =>
'<a class="link-body-emphasis" title="' .
__('Go to page :page', [
@ -69,10 +69,8 @@
) !!}</span>
@endif
</div>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col d-flex justify-content-center mb-3">
<div class="form-check">
<input class="form-check-input" id="remember" name="remember" type="checkbox"
@ -87,16 +85,16 @@
<div class="col-md-8 mb-3 text-center">
<button class="btn btn-white btn-lg" type="submit">{{ __('Je me connecte au club') }}</button>
</div>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col text-center">
@if (Route::has('club.password.request'))
<a class="link-body-emphasis" href="{{ route('club.register') }}"
title="{{ __('Go to page :page', [
'page' => __('Register'),
]) }}">{{ __('Je n\'ai pas de compte') }}</a>
]) }}">
{{ __('Je n’ai pas de compte') }}
</a>
@endif
</div>
@ -104,5 +102,4 @@
</form>
</div>
</section>
@endsection

View file

@ -12,7 +12,6 @@
@section('backbtn-txt', __('Retour'))
@section('content')
<section class="row justify-content-center mb-5">
<div class="col-12 mb-5 text-center">
<h1 class="f-bourton-base text-uppercase">{{ __('Confirm Password') }}</h1>
@ -21,20 +20,19 @@
<div class="mb-4 text-center">
<span>{{ __('Please confirm your password before continuing.') }}</span>
</div>
<form method="POST" action="{{ route('club.password.confirm') }}">
@csrf
{{-- PASSWORD --}}
<div class="row justify-content-center">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">{{ __('Password') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">
{{ __('Password') }}
</label>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-lg-6 input-group">
<input class="form-control @if ($errors->has('password')) is-invalid @endif" id="password" name="password"
type="password" aria-label="{{ __('Password') }}" autocomplete="new-password" required />
<input class="form-control @if ($errors->has('password')) is-invalid @endif" id="password"
name="password" type="password" aria-label="{{ __('Password') }}" autocomplete="new-password"
required />
@php $dataPassword = ['id' => 'password']; @endphp
<span class="btn-group password-visibility" data-json='@json($dataPassword)'></span>
</div>
@ -42,7 +40,6 @@
<div class="invalid-feedback d-block">{{ $message }}</div>
@endforeach
</div>
<div class="row justify-content-center pt-md-5 mb-4">
<div class="col-md-8 mb-3 text-center">
<button class="btn btn-white btn-lg" type="submit">{{ __('Confirm Password') }}</button>
@ -54,8 +51,6 @@
</div>
</div>
</form>
</div>
</section>
@endsection

View file

@ -1,10 +1,9 @@
@extends('club.layout')
@section('title', __('Réinitialisation'))
@section('description',
__('Changement de votre mot de passe d\'accès au Club :appname', [
@section('description', __('Changement de votre mot de passe d\'accès au Club :appname', [
'appname' => config('app.name'),
]))
]))
@section('breadcrumb', request()->route()->getName())
@section('container-fluid', true)
@ -15,23 +14,22 @@
@section('backbtn-txt', __('Retour'))
@section('content')
<section class="row justify-content-center mb-5">
<div class="col-12 mb-5 text-center">
<h1 class="f-bourton-base text-uppercase">{{ __('Mot de passe oublié ?') }}</h1>
</div>
<div class="col-sm-8">
<div class="col-sm-8 mb-5">
<form method="POST" action="{{ route('club.password.email') }}">
@csrf
<div class="row justify-content-center mb-3">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">{{ __('Adresse Email') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4"
for="email">{{ __('Adresse Email') }}</label>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-lg-6">
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email" type="email"
value="{{ old('email') }}" autocomplete="email" autofocus required>
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email"
type="email" value="{{ old('email') }}" placeholder="{{ __('ex: monemail@mail.com') }}"
autocomplete="email" autofocus required>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
@ -46,8 +44,8 @@
</div>
</form>
<p class="text-center">
{{ __('Après avoir appuyé sur "Envoyer", rendez-vous dans votre boîte mail pour cliquer sur le lien.') }}</p>
{{ __('Après avoir appuyé sur "Envoyer", rendez-vous dans votre boîte mail pour cliquer sur le lien.') }}
</p>
</div>
</section>
@endsection

View file

@ -1,10 +1,9 @@
@extends('club.layout')
@section('title', __('Changement de mot de passe'))
@section('description',
__('Formulaire de changement de mot de passe du club :appname', [
@section('description', __('Formulaire de changement de mot de passe du club :appname', [
'appname' => config('app.name'),
]))
]))
@section('breadcrumb', request()->route()->getName())
@section('container-fluid', true)
@ -13,7 +12,6 @@
@section('page-class', 'auth reset')
@section('content')
<section class="row justify-content-center mb-5">
<div class="col-12 mb-5 text-center">
<h1 class="f-bourton-base text-uppercase">{{ __('Réinitialiser votre mot de passe') }}</h1>
@ -21,19 +19,17 @@
<div class="col-sm-8">
<form method="POST" action="{{ route('club.password.update') }}">
@csrf
<input name="token" type="hidden" value="{{ $token }}">
{{-- EMAIL --}}
<div class="row justify-content-center mb-3">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">{{ __('Adresse Email') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">
{{ __('Adresse Email') }}
</label>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-lg-6">
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email" type="email"
value="{{ $email ?? old('email') }}" autocomplete="email" autofocus required>
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email"
type="email" value="{{ $email ?? old('email') }}" autocomplete="email" autofocus required>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
@ -41,17 +37,17 @@
@enderror
</div>
</div>
{{-- PASSWORD --}}
<div class="row justify-content-center">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">{{ __('Password') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">
{{ __('Password') }}
</label>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-lg-6 input-group">
<input class="form-control @if ($errors->has('password')) is-invalid @endif" id="password" name="password"
type="password" aria-label="{{ __('Password') }}" autocomplete="new-password" required />
<input class="form-control @if ($errors->has('password')) is-invalid @endif" id="password"
name="password" type="password" aria-label="{{ __('Password') }}" autocomplete="new-password"
required />
@php $dataPassword = ['id' => 'password']; @endphp
<span class="btn-group password-visibility" data-json='@json($dataPassword)'></span>
</div>
@ -59,18 +55,17 @@
<div class="invalid-feedback d-block">{{ $message }}</div>
@endforeach
</div>
{{-- Confirm Password --}}
<div class="row justify-content-center">
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4" for="email">{{ __('Confirm Password') }}</label>
<label class="col-lg-6 col-form-label f-bourton-base fs-5 ms-4"
for="email">{{ __('Confirm Password') }}</label>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-lg-6 input-group">
<input class="form-control custom-input-password @if ($errors->has('password_confirmation')) is-invalid @endif"
id="password-confirmation" name="password_confirmation" type="password" aria-label="{{ __('Confirm Password') }}"
autocomplete="new-password" required />
<input
class="form-control custom-input-password @if ($errors->has('password_confirmation')) is-invalid @endif"
id="password-confirmation" name="password_confirmation" type="password"
aria-label="{{ __('Confirm Password') }}" autocomplete="new-password" required />
@php $dataPassword = ['id' => 'password-confirmation']; @endphp
<span class="btn-group password-visibility" data-json='@json($dataPassword)'></span>
</div>
@ -78,7 +73,6 @@
<div class="invalid-feedback d-block">{{ $message }}</div>
@endforeach
</div>
<div class="row justify-content-center mb-3">
<div class="col col-md-8 lh-sm px-0 py-2 text-center">
<small>
@ -98,5 +92,4 @@
</form>
</div>
</section>
@endsection

View file

@ -1,10 +1,9 @@
@extends('club.layout')
@section('title', __('Inscription'))
@section('description',
__('Formulaire d\'inscription au club :appname', [
@section('description', __('Formulaire d’inscription au club :appname', [
'appname' => config('app.name'),
]))
]))
@section('breadcrumb', request()->route()->getName())
@section('container-fluid', true)
@ -15,32 +14,27 @@
@section('backbtn-txt', __('Retour'))
@section('content')
<section class="row justify-content-center mb-5">
<div class="col-12 mb-5 text-center">
<h1 class="f-bourton-base text-uppercase">{{ __('Je m\'inscris') }}</h1>
<h1 class="f-bourton-base text-uppercase">{{ __('Je m’inscris') }}</h1>
</div>
<div class="col-sm-8">
<form method="POST" action="{{ route('club.register') }}">
@csrf
<fieldset class="container-fluid p-md-5 pt-md-1">
<div class="row justify-content-center">
<div class="col col-md-8 lh-sm px-0 py-2">
<aside>{{ __('*Champs obligatoires') }}</aside>
</div>
</div>
@include('club.pages.customers.partials.customer-form')
<div class="row justify-content-center">
<div class="col col-md-8 lh-sm px-0 py-2">
<div class="form-check text-start">
<input class="form-check-input @if ($errors->has('opt_in')) is-invalid @endif me-1" id="check-optin"
name="opt_in" type="checkbox" @checked(old('opt_in'))>
<input class="form-check-input @if ($errors->has('opt_in')) is-invalid @endif me-1"
id="check-optin" name="opt_in" type="checkbox" @checked(old('opt_in'))>
<label class="form-check-label w-fit" for="check-optin" role="button">
{{ __('Je souhaite m\'inscrire à la newsletter') }} {{ Config::get('theme.site_name') }}
{{ __('Je souhaite m’inscrire à la newsletter') }} {{ Config::get('theme.site_name') }}
</label>
</div>
@foreach ($errors->get('opt_in') as $message)
@ -51,8 +45,8 @@
<div class="row justify-content-center mb-3">
<div class="col col-md-8 lh-sm px-0 py-2">
<div class="form-check">
<input class="form-check-input @if ($errors->has('ok_cgv')) is-invalid @endif me-1" id="accept-cgu"
name="ok_cgv" type="checkbox" required />
<input class="form-check-input @if ($errors->has('ok_cgv')) is-invalid @endif me-1"
id="accept-cgu" name="ok_cgv" type="checkbox" required />
<label class="form-check-label w-fit" for="accept-cgu" role="button">
<span>{!! clean(
__(
@ -63,9 +57,7 @@
__('Go to page :page', [
'page' => __('Charte de confidentialité'),
]) .
'" href="' .
route('club.password.request') .
'">',
'" href="FIXME: privacy policy route">',
'endA' => '</a>',
],
),
@ -77,29 +69,26 @@
@endforeach
</div>
</div>
<div class="row justify-content-center mb-3">
<div class="col col-lg-8 mb-2 py-2 text-center">
<button class="btn btn-white btn-lg px-5 py-2" type="submit">
{{ __('S\'inscrire') }}
{{ __('S’inscrire') }}
</button>
</div>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-md-10 col-lg-8 text-center">
<a class="link-body-emphasis" href="{{ route('club.login') }}"
title="{{ __('Aller sur la page de connexion') }}">{{ __('J\'ai déjà un compte') }}</a>
title="{{ __('Aller sur la page de connexion') }}">
{{ __('J’ai déjà un compte') }}
</a>
</div>
</div>
</fieldset>
</form>
</div>
{{-- Force next columns to break to new line --}}
<div class="w-100"></div>
<div class="col-sm-8 col-md-6 col-lg-4 mb-5 text-center">
<span>{!! clean(
__(
@ -110,14 +99,11 @@
__('Go to page :page', [
'page' => __('Charte de confidentialité'),
]) .
'" href="' .
route('club.password.request') .
'">',
'" href="FIXME: privacy policy route">',
'endA' => '</a>',
],
),
) !!}</span>
</div>
</section>
@endsection

View file

@ -1,10 +1,9 @@
@extends('club.layout')
@section('title', __('Vérification'))
@section('description',
__('Veuillez vérifier votre adresse email pour profiter des avantage du club :appname', [
@section('description', __('Veuillez vérifier votre adresse email pour profiter des avantage du club :appname', [
'appname' => config('app.name'),
]))
]))
@section('breadcrumb', request()->route()->getName())
@section('container-fluid', true)
@ -15,27 +14,24 @@
@section('backbtn-txt', __('Retour'))
@section('content')
<section class="row justify-content-center mb-5">
<div class="col-12 mb-5 text-center">
<h1 class="f-bourton-base text-uppercase">{{ __('Verify Your Email Address') }}</h1>
</div>
<div class="col-sm-8">
@if (session('resent'))
<div class="alert alert-success" role="alert">
{{ __('A fresh verification link has been sent to your email address.') }}
</div>
@endif
{{ __('Before proceeding, please check your email for a verification link.') }}
{{ __('If you did not receive the email') }},
<form class="d-inline" method="POST" action="{{ route('club.verification.resend') }}">
@csrf
<button class="btn btn-link link-body-emphasis m-0 p-0 align-baseline"
type="submit">{{ __('click here to request another') }}</button>.
<button class="btn btn-link link-body-emphasis m-0 p-0 align-baseline" type="submit">
{{ __('click here to request another') }}
</button>.
</form>
</div>
</section>
@endsection

View file

@ -1,6 +1,6 @@
<svg role="img" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="12" height="20" viewBox="0 0 12 20"
fill="none">
<svg role="img" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="12" height="20"
viewBox="0 0 12 20" fill="none">
<text class="visually-hidden" font-size="0">{{ __('Une flèche directionelle') }}</text>
<path d="M10 18L2.70711 10.7071C2.31658 10.3166 2.31658 9.68342 2.70711 9.29289L10 2" stroke="currentColor" stroke-width="3"
stroke-linecap="round" stroke-linejoin="round" />
<path d="M10 18L2.70711 10.7071C2.31658 10.3166 2.31658 9.68342 2.70711 9.29289L10 2" stroke="currentColor"
stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
</svg>

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 435 B

View file

@ -1,4 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24">
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<text class="visually-hidden" font-size="0">{{ __('Une clochette') }}</text>
<path
d="m11.732 21.348c-2.5454 0-5.0909-0.4043-7.5053-1.2127-0.91767-0.3168-1.6169-0.9614-1.9227-1.8026-0.31682-0.8412-0.20757-1.7698 0.29497-2.6l1.2563-2.0866c0.26219-0.437 0.50254-1.311 0.50254-1.8245v-3.1572c0-4.064 3.3102-7.3742 7.3742-7.3742 4.064 0 7.3742 3.3102 7.3742 7.3742v3.1572c0 0.5026 0.2403 1.3875 0.5025 1.8354l1.2454 2.0757c0.4698 0.7865 0.5572 1.737 0.2404 2.6-0.1547 0.4223-0.4032 0.8039-0.7268 1.1161-0.3236 0.3123-0.7139 0.547-1.1414 0.6865-2.4034 0.8084-4.9488 1.2127-7.4943 1.2127zm0-18.419c-3.1572 0-5.7355 2.5673-5.7355 5.7355v3.1572c0 0.7975-0.32774 1.9774-0.73195 2.6657l-1.2563 2.0866c-0.24035 0.4042-0.30589 0.8302-0.16387 1.1908 0.13109 0.3714 0.45883 0.6554 0.90675 0.8084 4.532 1.5294 9.4407 1.5294 13.973 0 0.3933-0.1311 0.6992-0.4261 0.8412-0.8194 0.142-0.3932 0.1093-0.8193-0.1092-1.1798l-1.2564-2.0866c-0.4151-0.7101-0.7319-1.8791-0.7319-2.6766v-3.1463c0-3.1682-2.5673-5.7355-5.7355-5.7355z"

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -1,5 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" width="24">
<text class="visually-hidden" font-size="0">{{ __('Une coupe') }}</text>
<path
d="m22.796 4.1018c-0.33696-0.33698-0.79152-0.5329-1.2696-0.5329h-2.0218v-1.0658c0-0.47804-0.18024-0.92473-0.52504-1.2617s-0.79152-0.5329-1.2696-0.5329h-11.449c-0.48588 0-0.93258 0.18808-1.2696 0.5329-0.32914 0.33698-0.52506 0.7915-0.52506 1.2617v1.0658h-2.0219c-0.48588 0-0.93257 0.18808-1.2617 0.5329-0.33698 0.33698-0.5329 0.7915-0.5329 1.2617v2.8604c0 0.99526 0.384 1.92 1.0815 2.6253 0.7053 0.69743 1.63 1.0814 2.6175 1.0814h0.39183l0.023512 0.08625c0.39183 1.4419 1.1912 2.7271 2.3118 3.7224 1.1206 0.98744 2.4921 1.6378 3.981 1.8494l0.09409 0.01568v4.0986h-3.9419c-0.46237 0-0.83853 0.37616-0.83853 0.83847 0 0.4624 0.37616 0.83856 0.83853 0.83856h9.5529c0.46241 0 0.83856-0.36832 0.83856-0.83856 0-0.47015-0.37616-0.83847-0.83856-0.83847h-3.9418v-4.0986l0.10193-0.01568c1.5046-0.18808 2.8917-0.81495 4.0358-1.8102 1.1285-0.99528 1.9278-2.304 2.304-3.7616l0.02352-0.08625h0.33696c0.98744 0 1.9122-0.384 2.6175-1.0814 0.69744-0.70532 1.0814-1.6301 1.0814-2.6253v-2.8604c0-0.47804-0.18024-0.92474-0.52504-1.2617zm-18.338 6.1518h-0.11755c-0.54073 0-1.0423-0.20376-1.4341-0.5956-0.39183-0.39183-0.59558-0.88554-0.59558-1.4341v-2.9701h2.1394v4.9998zm13.369-0.10972c0 0.78363-0.15672 1.5516-0.47025 2.2805-0.29775 0.7288-0.74448 1.3713-1.3166 1.9121-0.56424 0.55649-1.2146 0.97176-1.9514 1.2539-0.68175 0.25864-1.387 0.39184-2.1081 0.39184-0.06263 0-0.11751 0-0.18024-0.0078-1.5594-0.09409-2.9936-0.77584-4.0594-1.92-1.058-1.1442-1.63-2.641-1.6065-4.2005v-7.4605h11.692zm3.8165-1.9122c0 0.54857-0.2116 1.0501-0.5956 1.4341-0.384 0.384-0.89336 0.5956-1.4342 0.5956h-0.11752v-4.9998h2.1394v2.9701z"

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -1,6 +1,8 @@
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" width="24">
<text class="visually-hidden" font-size="0">{{ __('Une icône de menu hamburger') }}</text>
<line x1="2.4927" x2="21.993" y1="8.3859" y2="8.3859" stroke="currentColor" stroke-linecap="round" stroke-width="2.5" />
<line x1="2.4927" x2="13.926" y1="15.719" y2="15.719" stroke="currentColor" stroke-linecap="round" stroke-width="2.5" />
<line x1="2.4927" x2="21.993" y1="8.3859" y2="8.3859" stroke="currentColor" stroke-linecap="round"
stroke-width="2.5" />
<line x1="2.4927" x2="13.926" y1="15.719" y2="15.719" stroke="currentColor" stroke-linecap="round"
stroke-width="2.5" />
</svg>

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 519 B

View file

@ -1,4 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24">
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<text class="visually-hidden" font-size="0">{{ __('Une icône de sortie') }}</text>
<path
d="m7.4051 19.074-6.327-6.5161c-0.33699-0.34719-0.36783-0.89013-0.0924-1.2732l0.09182-0.10969 6.327-6.5274c0.37056-0.3824 0.97187-0.38292 1.3431-0.00117 0.33743 0.34692 0.36852 0.89039 0.09297 1.2736l-0.09187 0.10982-4.7059 4.8555 14.807-0.0012c0.4808 0 0.8782 0.36805 0.9411 0.84539l0.0086 0.13277c0 0.49522-0.3572 0.90448-0.8208 0.9693l-0.1289 0.0089-14.811 0.0012 4.7091 4.8489c0.33718 0.3473 0.36785 0.8907 0.092 1.2737l-0.09195 0.1097c-0.33714 0.3473-0.86475 0.3789-1.2366 0.0947z"

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,6 +1,7 @@
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" width="24">
<text class="visually-hidden" font-size="0">{{ __('Une loupe') }}</text>
<circle cx="11.012" cy="11.41" r="6.2222" stroke="currentColor" stroke-width="2.5" />
<line x1="16.335" x2="19.9" y1="15.855" y2="19.42" stroke="currentColor" stroke-linecap="round" stroke-width="2.5" />
<line x1="16.335" x2="19.9" y1="15.855" y2="19.42" stroke="currentColor" stroke-linecap="round"
stroke-width="2.5" />
</svg>

Before

Width:  |  Height:  |  Size: 446 B

After

Width:  |  Height:  |  Size: 454 B

View file

@ -1,4 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24">
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<text class="visually-hidden" font-size="0">{{ __('Une manette de jeux vidéo') }}</text>
<path
d="m5.5332 16.333c0.15887 0.15887 0.3654 0.24625 0.59576 0.24625s0.421-0.08738 0.59576-0.24625l1.0326-1.0326 1.0644 1.0643c0.15888 0.15887 0.3654 0.24625 0.59577 0.24625 0.23036 0 0.43688-0.08738 0.59576-0.24625 0.32565-0.32568 0.32565-0.85786 0-1.1835l-1.0644-1.0644 1.0326-1.0326c0.15889-0.15887 0.24627-0.36535 0.24627-0.5958 0-0.23035-0.08738-0.43683-0.24627-0.5957-0.15888-0.15887-0.3654-0.24625-0.59577-0.24625-0.23036 0-0.43688 0.08738-0.59576 0.24625l-1.0326 1.0326-1.0009-1.0009c-0.32568-0.32568-0.85789-0.32568-1.1836 0-0.15887 0.15887-0.24625 0.36545-0.24625 0.5958 0 0.23035 0.087386 0.43693 0.24625 0.5958l1.0009 1.0008-1.0326 1.0326c-0.32569 0.32568-0.32569 0.85795 0 1.1836z"

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -1,5 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 44 35"
fill="none">
<svg role="img" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 44 35" fill="none">
<text class="visually-hidden" font-size="0">{{ __('Une lettre') }}</text>
<path
d="M43.9875 6.60865C43.7871 2.90436 40.6934 0 36.961 0H6.6382C2.9183 0.209212 0 3.28586 0 7.01477V28.379C0.212923 32.0833 3.30658 35 7.039 35H37.3618C41.0817 34.7785 44 31.7018 44 27.9729V6.60865H43.9875ZM40.9815 28.3052C40.8062 30.3727 39.0401 31.9972 36.961 31.9972H6.71335C4.63422 31.8126 3.00598 30.0527 3.00598 27.9729V11.4451L21.5053 21.1181C21.881 21.2535 22.3319 21.2289 22.6951 21.032L40.994 11.4451V28.3052H40.9815ZM40.994 8.04852L40.9063 8.09775L21.9937 18.0046L3.00598 8.04852V6.6948C3.19385 4.61498 4.95986 2.99051 7.039 2.99051L37.2867 3.01512C39.3658 3.17511 40.994 4.93495 40.994 7.01477V8.04852Z"

Before

Width:  |  Height:  |  Size: 896 B

After

Width:  |  Height:  |  Size: 896 B

View file

@ -1,4 +1,5 @@
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="28" height="22" viewBox="0 0 28 22" fill="none">
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="28" height="22" viewBox="0 0 28 22"
fill="none">
<text class="visually-hidden" font-size="0">{{ __('Deux personnes cote à cote') }}</text>
<path
d="M27.8273 17.2613C27.2139 14.33 25.4963 12.1125 22.7052 10.6773C22.5365 10.5861 22.3601 10.5102 22.1838 10.4342L22.0534 10.3735C21.9461 10.3355 21.8387 10.29 21.7237 10.2368L21.647 10.1988L21.831 10.0621C21.9231 9.99379 21.9921 9.94063 22.0534 9.87988L22.3141 9.64446C22.4598 9.51536 22.5978 9.38626 22.7205 9.24957C24.0547 7.6776 24.4534 5.94615 23.9014 4.10079C23.3033 2.11115 21.9231 0.804971 19.8068 0.212634C19.6074 0.151881 19.4004 0.113911 19.1933 0.0759407L18.9173 0.0379703C18.7716 0.00759407 18.3959 0 18.2425 0L17.5677 0.0303763C16.1569 0.197446 14.9607 0.759406 14.0175 1.70866C13.3274 1.0176 12.4227 0.516396 11.3262 0.212634C11.1268 0.151881 10.9198 0.113911 10.7127 0.0759407L10.4367 0.0379703C10.291 0.00759407 9.91528 0 9.76192 0L9.07947 0.0303763C7.50757 0.220228 6.19638 0.903694 5.19956 2.06559C4.21042 3.22748 3.75036 4.67035 3.89605 6.12841C4.04174 7.61685 4.80085 8.97618 6.0507 9.96341L6.32673 10.1836L6.2424 10.2444C6.2424 10.2444 6.21939 10.2672 6.21172 10.2672L5.83601 10.4266C3.85771 11.2696 2.31649 12.6061 1.24299 14.4135C0.560559 15.545 0.161827 16.8057 0.0391417 18.1498C-0.014533 18.7194 -0.0452173 19.3345 0.169481 19.9192C0.644886 21.2026 1.84107 22 3.29029 22H24.5685C24.6911 22 24.8062 22 24.9289 22C26.3781 21.9544 27.6663 20.8989 27.927 19.5471C28.088 18.689 27.95 17.8385 27.8273 17.2689V17.2613ZM18.2732 1.58716C19.4694 1.61754 20.6042 2.11115 21.3863 2.9465C22.1071 3.69831 22.4828 4.67035 22.4521 5.69555C22.3831 7.9358 20.5352 9.62927 18.1582 9.62927C18.1198 9.62927 18.0815 9.62927 18.0278 9.62168C16.9543 9.5913 15.8962 9.11288 15.1217 8.30791C15.0757 8.26234 15.0297 8.20918 14.9914 8.15602C15.7045 6.88782 15.8502 5.52848 15.4208 4.10079C15.3058 3.72869 15.1677 3.37936 14.999 3.05281C15.7735 2.15671 16.9543 1.58716 18.2732 1.58716ZM13.7032 10.4342L13.5651 10.3735C13.4655 10.3355 13.3581 10.29 13.2431 10.2368L13.1664 10.1988L13.3505 10.0621C13.4425 9.99379 13.5115 9.94063 13.5651 9.87988L13.8335 9.64446C13.8872 9.5913 13.9485 9.54574 14.0022 9.48498C14.1632 9.65205 14.3396 9.81153 14.5313 9.96341L14.8073 10.1836L14.7307 10.2444C14.7307 10.2444 14.7 10.2672 14.6923 10.2672L14.3243 10.4266C14.2246 10.4722 14.1172 10.5178 14.0175 10.5709C13.9179 10.5254 13.8105 10.4798 13.7032 10.4342ZM5.53695 5.53607C5.61363 3.31861 7.47692 1.58716 9.7926 1.58716C10.9888 1.61754 12.1236 2.11115 12.9057 2.9465C12.9441 2.98447 12.9747 3.02244 13.0054 3.06041C13.6648 3.78944 14.0022 4.72351 13.9715 5.69555C13.9409 6.64481 13.5882 7.50293 13.0131 8.17121C12.2309 9.06731 11.0425 9.62927 9.67759 9.62927C9.63925 9.62927 9.6009 9.62927 9.54722 9.62168C8.46606 9.5913 7.41557 9.11288 6.64112 8.30791C5.90501 7.53331 5.51395 6.55368 5.53695 5.53607ZM8.88778 20.4128H3.37464C2.77656 20.4128 2.33181 20.2306 2.01743 19.8585C1.80273 19.5851 1.68772 19.2889 1.68772 18.9776C1.67238 17.641 2.01744 16.3652 2.69987 15.1957C3.59701 13.6921 4.8622 12.591 6.46477 11.9075C7.86031 11.3076 9.35553 11.1101 10.9121 11.3152C11.3722 11.3759 11.8169 11.4746 12.2386 11.6113C12.8597 11.8012 13.4425 12.0594 13.9945 12.3935C14.2169 12.5226 14.4393 12.6669 14.6463 12.8188C16.1645 13.9351 17.1537 15.3704 17.5831 17.0866C17.6904 17.5119 17.7364 17.9524 17.7824 18.3852C17.7978 18.5067 17.8131 18.6282 17.8208 18.7573C17.8745 19.1826 17.7518 19.5851 17.4681 19.8889C17.1997 20.185 16.8086 20.3673 16.3409 20.4128H8.88778ZM25.9487 19.8889C25.6419 20.2306 25.1742 20.4204 24.6298 20.4204C23.794 20.4128 22.9046 20.4128 21.9461 20.4128H19.109C19.27 20.1395 19.385 19.8509 19.4464 19.5395C19.6074 18.6814 19.4694 17.8309 19.3467 17.2613C18.8559 14.8996 17.6368 13.0086 15.7352 11.6113C16.9007 11.2468 18.1275 11.1481 19.3927 11.3152C20.7806 11.505 22.0381 12.0138 23.1269 12.8188C24.6451 13.9351 25.6343 15.3704 26.0637 17.0866C26.1787 17.5119 26.2247 17.9524 26.2707 18.3852C26.2784 18.5067 26.2937 18.6282 26.309 18.7573C26.3551 19.1826 26.2324 19.5851 25.9487 19.8889Z"

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -1,4 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24">
<svg role="img" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<text class="visually-hidden" font-size="0">{{ __('Une tête de poule') }}</text>
<path
d="m14.447 0h1.0297c0.0914 0.083047 0.216 0.074742 0.3156 0.10796 0.5398 0.1827 0.8969 0.58133 1.2125 1.0298 0.2242 0.30727 0.5066 0.51489 0.8803 0.60624 0.3571 0.09135 0.7308 0.15779 1.0962 0.22423 0.6395 0.10796 1.2623 0.24083 1.8354 0.58133 1.1543 0.68929 2.0014 2.508 1.3038 4.1524-0.6727 1.5945-1.8852 2.5994-3.488 3.1724-0.3654 0.1329-0.3488 0.11626-0.2325 0.4734 0.0581 0.1827 0.1495 0.2574 0.3405 0.2657s0.3903 0.0249 0.5813 0.0498c1.9433 0.2907 3.2887 1.4118 4.1773 3.106 0.5481 1.0381-0.1827 2.3253-1.3537 2.3835-0.8886 0.0415-1.7772 0.0166-2.6658 0.0249-0.1412 0-0.2823 0-0.4152 0.0332 0 0.108 0.0581 0.191 0.1079 0.2824 0.2492 0.4816 0.49 0.9716 0.6976 1.4782 0.3737 0.9301 0.7225 1.8685 0.7308 2.8983 0 1.1793-0.4982 2.0928-1.5031 2.6741-1.1294 0.6644-2.2755 0.598-3.3551-0.166-0.1495-0.0997-0.2491-0.108-0.382 0-0.1993 0.1494-0.4153 0.2823-0.6229 0.4152-0.3986 0.2574-0.6893 0.2574-1.0796 0-0.872-0.5813-1.744-1.1544-2.6077-1.744-0.1495-0.0997-0.2408-0.0914-0.3903 0-0.85537 0.5813-1.7191 1.1544-2.5828 1.7274-0.47337 0.3156-0.82217 0.2823-1.2291-0.1246-0.52319-0.5232-1.0547-1.0464-1.5696-1.5779-0.10796-0.1163-0.19931-0.1329-0.34049-0.0581-1.2125 0.6145-2.4416 1.2208-3.6541 1.8353-0.3571 0.1827-0.6976 0.1827-0.99657-0.083-0.30727-0.2741-0.3488-0.6063-0.21592-0.9966 1.1876-3.3717 2.3668-6.7517 3.5544-10.132 0.09135-0.2575 0.13287-0.4568-0.14118-0.6229-0.11627-0.0747-0.20762-0.191-0.30728-0.2907-0.78064-0.7557-1.5114-1.5529-2.0513-2.508-0.3571-0.63947-0.64777-1.3204-0.59794-2.0596 0.10796-1.5696 0.77234-2.5412 2.2755-3.0977 0.68929-0.25744 1.4118-0.43184 2.1177-0.63946 0.57303-0.16609 0.97165-0.49828 1.2042-1.0464 0.08305-0.19932 0.18271-0.39863 0.29067-0.58133 0.58963-1.0215 1.9267-1.6194 3.0894-1.3952 0.56474 0.10796 1.0879 0.30727 1.6111 0.53981 0.5647 0.24914 1.0796 0.27406 1.5779-0.1827 0.3488-0.31558 0.7806-0.49828 1.2374-0.62285 0.1744-0.049828 0.3654-0.033218 0.5315-0.13288h-0.0166zm-12.142 21.434c0.14948-0.0665 0.24914-0.108 0.3488-0.1495 0.7142-0.3571 1.4201-0.7142 2.1343-1.063 0.48167-0.2409 0.79725-0.1827 1.1793 0.191 0.49829 0.4983 0.99657 0.9882 1.4866 1.4865 0.11626 0.1163 0.19931 0.1412 0.34879 0.0332 0.83048-0.5647 1.6692-1.1128 2.508-1.6775 0.3571-0.2409 0.7059-0.2492 1.063-0.0083 0.3073 0.2076 0.6229 0.4152 0.9301 0.6228 0.5814 0.3904 1.171 0.7724 1.7523 1.171 0.1994 0.1412 0.2907-0.0498 0.4319-0.108 0.0996-0.0415 0.1246-0.1162 0.0913-0.2325-0.191-0.6644-0.1162-1.3288 0.0416-1.9765 0.3654-1.5115 1.0464-2.8901 1.8353-4.2188 0.2824-0.4817 0.5481-0.9467 0.6062-1.5115 0.0416-0.3737 0.2077-0.7391 0.1911-1.1211-0.0333-0.7474-0.1994-1.4782-0.5066-2.1675-1.2125-2.7074-4.3019-4.1026-7.1338-3.1724-1.7523 0.57302-3.0146 1.7191-3.6375 3.463-1.0464 2.915-2.0596 5.8465-3.0894 8.7698-0.18271 0.5315-0.37371 1.063-0.57303 1.6526l-0.0083 0.0167zm15.223-13.038c0.1578-0.02491 0.2658-0.01661 0.3737-0.04983 1.1461-0.29897 1.9765-1.0049 2.5579-2.0097 0.6228-1.0796-0.0083-2.3502-1.1212-2.5994-0.4899-0.10796-0.9882-0.19931-1.4865-0.29067-0.9052-0.16609-1.6942-0.54811-2.2008-1.3537-0.2574-0.41524-0.5896-0.47337-1.0131-0.40693-0.4402 0.06643-0.8056 0.25744-1.1544 0.5315-0.6727 0.5315-1.4201 0.68929-2.2589 0.48997-0.5315-0.13287-1.0214-0.3654-1.5363-0.54811-0.48167-0.17439-0.95504-0.191-1.4201 0.05814-0.36541 0.19931-0.5232 0.5398-0.67268 0.89691-0.41524 0.98826-1.1378 1.6028-2.1675 1.8935-0.68929 0.19101-1.3786 0.37371-2.0513 0.60624-1.0547 0.36541-1.5032 1.553-0.93844 2.5578 0.42354 0.74743 0.95504 1.4035 1.553 2.0098 0.21593 0.2214 0.37925 0.1965 0.48998-0.0748 0 0 0-0.0166 0.00831-0.0166 1.3952-3.1724 4.7171-4.9828 8.1137-4.4264 1.8021 0.29067 3.3053 1.146 4.5012 2.5329 0.1328 0.15779 0.2657 0.22422 0.4152 0.19101l0.0083 0.0083zm0 13.894c0.6395 0 1.1461-0.382 1.3288-1.0048 0.1245-0.4153 0.0498-0.8222-0.0333-1.2208-0.2242-1.063-0.6976-2.0264-1.1958-2.9731-0.0831-0.1661-0.1329-0.0997-0.191 0.0166-0.1495 0.2907-0.3073 0.5813-0.4485 0.872-0.3986 0.8471-0.7225 1.7108-0.8388 2.6575-0.1079 0.8886 0.5066 1.6526 1.3786 1.6526zm2.7904-7.7898h1.445c0.1993 0 0.2076-0.0415 0.1163-0.1993-0.6395-1.063-1.5447-1.7523-2.7821-1.9682-0.191-0.0332-0.2242 0.0332-0.1993 0.191 0.0664 0.4318 0.0083 0.8554-0.0914 1.2706-0.0415 0.1744-0.0498 0.3571-0.1079 0.5232-0.0499 0.1744 0.0166 0.191 0.1661 0.191h1.4533v-0.0083z"

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -1,5 +1,5 @@
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
width="24">
<svg role="img" aria-hidden="true" focusable="false" fill="none" version="1.1" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" width="24">
<text class="visually-hidden" font-size="0">{{ __('Un ticket') }}</text>
<path
d="m20.893 11.656c2.4851 2.1316 2.6257 3.2279 0.70294 5.4817l-2.8841 3.3808c-1.9227 2.2538-3.0247 2.2844-5.5098 0.15286l-9.981-8.561c-2.4851-2.1316-2.6257-3.2279-0.70295-5.4818l0.24035-0.28168c0.85736 0.73533 2.0916 0.70108 2.7549-0.076475s0.50588-2.0054-0.35147-2.7408l0.24034-0.28168c1.9227-2.2539 3.0247-2.2844 5.5098-0.15286z"

Before

Width:  |  Height:  |  Size: 803 B

After

Width:  |  Height:  |  Size: 803 B

View file

@ -1,2 +1,3 @@
<div class="position-relative z-1">
FIXME: footer
</div>

View file

@ -1,16 +1,24 @@
<a class="mx-sm-1 btn btn-link btn-social text-decoration-none mx-2" href="https://www.facebook.com/LeGauloisFrance"
title="{{ __('Go to page :page :appname', ['page' => 'Facebook', 'appname' => config('app.name')]) }}" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/facebook.png') }}" alt="Facebook" role="img">
title="{{ __('Go to page :page :appname', ['page' => 'Facebook', 'appname' => config('app.name')]) }}"
target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/facebook.png') }}" alt="Facebook"
role="img">
</a>
<a class="mx-sm-1 btn btn-link btn-social text-decoration-none mx-2" href="https://www.instagram.com/legaulois_officiel"
title="{{ __('Go to page :page :appname', ['page' => 'Instagram', 'appname' => config('app.name')]) }}" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/instagram.png') }}" alt="Instagram" role="img">
title="{{ __('Go to page :page :appname', ['page' => 'Instagram', 'appname' => config('app.name')]) }}"
target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/instagram.png') }}"
alt="Instagram" role="img">
</a>
<a class="mx-sm-1 btn btn-link btn-social text-decoration-none mx-2" href="https://www.linkedin.com/company/legaulois"
title="{{ __('Go to page :page :appname', ['page' => 'LinkedIn', 'appname' => config('app.name')]) }}" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/linkedin.png') }}" alt="LinkedIn" role="img">
title="{{ __('Go to page :page :appname', ['page' => 'LinkedIn', 'appname' => config('app.name')]) }}"
target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/linkedin.png') }}" alt="LinkedIn"
role="img">
</a>
<a class="mx-sm-1 btn btn-link btn-social text-decoration-none mx-2" href="https://www.youtube.com/c/legaulois"
title="{{ __('Go to page :page :appname', ['page' => 'Youtube', 'appname' => config('app.name')]) }}" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/youtube.png') }}" alt="Youtube" role="img">
title="{{ __('Go to page :page :appname', ['page' => 'Youtube', 'appname' => config('app.name')]) }}"
target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/footer/socials/youtube.png') }}" alt="Youtube"
role="img">
</a>

View file

@ -21,7 +21,6 @@
</a>
@endif
</div>
<a href="{{ route('club.home.show') }}"
title="{{ __('Go to page :page', [
'page' => __('Le Club :appname', [
@ -31,15 +30,17 @@
<img class="header-club-logo" src="{{ Vite::asset('resources/assets/images/common/club-logo.png') }}"
alt="{{ __('Club Le Gaulois') }}" role="img">
</a>
{{-- LOGIN & REGISTER BTNS --}}
@if (auth('club')->guest() and empty($__env->yieldContent('no-auth-btns')))
<div class="guest-cta-btn-list">
<a class="btn btn-secondary fs-5 px-3 py-2" href="{{ route('club.register') }}">{{ __('Je m\'inscris') }}</a>
<a class="btn btn-light fs-5 px-3 py-2" href="{{ route('club.login') }}">{{ __('Je me connecte') }}</a>
<a class="btn btn-secondary fs-5 px-3 py-2" href="{{ route('club.register') }}">
{{ __('Je m\'inscris') }}
</a>
<a class="btn btn-light fs-5 px-3 py-2" href="{{ route('club.login') }}">
{{ __('Je me connecte') }}
</a>
</div>
@endif
{{-- CUSTOMER POINTS --}}
@auth('club')
<div class="customer-points text-bg-secondary">
@ -54,22 +55,22 @@
</div>
</div>
</div>
{{-- NAVBAR --}}
@auth('club')
<nav class="navbar navbar-expand bg-light rounded-4 py-0 shadow" id="main-nav" data-bs-theme="light">
<ul class="navbar-nav flex-grow-1 w-100 d-flex">
{{-- MENU BTN --}}
<li class="nav-item ms-1">
<button class="btn btn-link text-tertiary p-1" data-bs-toggle="offcanvas" data-bs-target="#offcanvas-main-menu"
title="{{ __('Ouvrir Le menu') }}" aria-controls="offcanvas-main-menu">@include('club.icons.hamburger')</button>
<button class="btn btn-link text-tertiary p-1" data-bs-toggle="offcanvas"
data-bs-target="#offcanvas-main-menu" title="{{ __('Ouvrir Le menu') }}"
aria-controls="offcanvas-main-menu">@include('club.icons.hamburger')</button>
</li>
{{-- SEARCH BTN --}}
<li class="nav-item">
<button class="btn btn-link text-tertiary p-1" data-bs-toggle="offcanvas" data-bs-target="#offcanvas-search-menu"
title="{{ __('Ouvrir Le menu de recherche') }}" aria-controls="offcanvas-search-menu">@include('club.icons.magnifier')</button>
<button class="btn btn-link text-tertiary p-1" data-bs-toggle="offcanvas"
data-bs-target="#offcanvas-search-menu" title="{{ __('Ouvrir Le menu de recherche') }}"
aria-controls="offcanvas-search-menu">@include('club.icons.magnifier')</button>
</li>
<li class="nav-item mx-auto">
<a class="btn btn-link menu-logo p-1" href="{{ route('fo.home.show') }}">
<img src="{{ Vite::asset('resources/assets/images/legaulois-logo.png') }}"
@ -77,7 +78,6 @@
alt="{{ config('app.name') }}" role="img">
</a>
</li>
<li class="nav-item">
<a class="btn btn-link text-tertiary position-relative p-1" href="{{ route('club.notifications.index') }}">
@include('club.icons.cloche')
@ -100,7 +100,6 @@
</li>
</ul>
</nav>
@include('club.layouts.main-menu.offcanvas-menu', ['id' => 'offcanvas-main-menu'])
@include('club.layouts.main-menu.offcanvas-search', ['id' => 'offcanvas-search-menu'])
@endauth

View file

@ -1,4 +1,5 @@
<div class="offcanvas offcanvas-start text-bg-light" id="{{ $id }}" aria-labelledby="{{ $id }}-label" tabindex="-1">
<div class="offcanvas offcanvas-start text-bg-light" id="{{ $id }}" aria-labelledby="{{ $id }}-label"
tabindex="-1">
<div class="offcanvas-body pt-0">
<div class="container-fluid d-flex flex-column h-100">
<div class="row mb-auto">
@ -6,10 +7,13 @@
<nav class="navbar">
<ul class="navbar-nav w-100">
<li class="nav-item d-flex justify-content-between mb-5 ms-4 mt-3">
<img class="menu-club-logo" src="{{ Vite::asset('resources/assets/images/common/club-logo-blue.png') }}"
title="{{ __('Club Le Gaulois') }}" alt="{{ __('Club Le Gaulois') }}" role="img">
<button class="btn btn-link text-primary text-decoration-none f-bourton-base" data-bs-dismiss="offcanvas"
type="button" aria-label="{{ __('Fermer le menu de recherche') }}">
<img class="menu-club-logo"
src="{{ Vite::asset('resources/assets/images/common/club-logo-blue.png') }}"
title="{{ __('Club Le Gaulois') }}" alt="{{ __('Club Le Gaulois') }}"
role="img">
<button class="btn btn-link text-primary text-decoration-none f-bourton-base"
data-bs-dismiss="offcanvas" type="button"
aria-label="{{ __('Fermer le menu de recherche') }}">
<i class="fa-solid fa-xmark fa-xl me-2"></i>
<span class="d-none d-sm-inline">{{ __('Fermer') }}</span>
</button>
@ -40,9 +44,9 @@
<a class="nav-link" href="{{ route('club.discounts.index') }}"
title="{{ __('Go to page :page', ['page' => 'Mes coupons']) }}">
<span>{{ __('Mes coupons') }}</span>
<span class="f-bakerie-rough fs-6 d-block fw-bold">{{ __('« La Poulitude »') }}</span>
<span
class="f-bakerie-rough fs-6 d-block fw-bold">{{ __('« La Poulitude »') }}</span>
</a>
<span class="nav-notification ms-auto">
<span class="visually-hidden">{{ __('Nouveaux bons de réduction') }}</span>
<span>7</span>
@ -72,7 +76,8 @@
title="{{ __('Go to page :page', ['page' => 'Les jeux']) }}">{{ __('Les jeux') }}</a>
</li>
<li class="nav-item">
<span class="nav-icon"><img src="{{ Vite::asset('resources/assets/images/legaulois-logo.png') }}"
<span class="nav-icon"><img
src="{{ Vite::asset('resources/assets/images/legaulois-logo.png') }}"
title="{{ __(':appname, Volaille 100% Française', ['appname' => config('app.name')]) }}"
alt="{{ config('app.name') }}" role="img"></span>
<a class="nav-link" href="{{ route('fo.home.show') }}"
@ -114,11 +119,13 @@
</li>
<li class="list-inline-item me-0">-</li>
<li class="list-inline-item me-0">
<a href="#FIXME:confidentiality" title="{{ __('Go to page :page', ['page' => 'CGV']) }}">{{ __('CGV') }}</a>
<a href="#FIXME:confidentiality"
title="{{ __('Go to page :page', ['page' => 'CGV']) }}">{{ __('CGV') }}</a>
</li>
<li class="list-inline-item me-0">-</li>
<li class="list-inline-item me-0">
<a class="cn-cookie-link" href="#" title="{{ __('Go to page :page', ['page' => 'Gestion des cookies']) }}">
<a class="cn-cookie-link" href="#"
title="{{ __('Go to page :page', ['page' => 'Gestion des cookies']) }}">
{{ __('Gestion des cookies') }}</a>
</li>
</ul>

View file

@ -1,4 +1,5 @@
<div class="offcanvas offcanvas-top h-100 vw-100" id="{{ $id }}" aria-labelledby="{{ $id }}-label" tabindex="-1">
<div class="offcanvas offcanvas-top h-100 vw-100" id="{{ $id }}" aria-labelledby="{{ $id }}-label"
tabindex="-1">
<div class="offcanvas-body pt-0">
<form class="container-fluid d-flex flex-column pt-0" role="search" action="#FIXEME:SEARCH" method="GET">
<div class="row sticky-top pb-2 pt-4">
@ -6,13 +7,15 @@
{{-- INPUT SEARCH --}}
<div class="mx-auto">
<div class="input-group rounded-pill" id="input-group-search">
<button class="btn btn-light border-end-0 box-shadow-none" id="btn-search-empty" type="button">
<button class="btn btn-light border-end-0 box-shadow-none" id="btn-search-empty"
type="button">
<i class="fa-solid fa-xmark me-2"></i>
<span class="visually-hidden">{{ __('Effacer le contenu la barre de recherche') }}</span>
<span
class="visually-hidden">{{ __('Effacer le contenu la barre de recherche') }}</span>
</button>
<div class="form-floating search-input text-reset" data-bs-theme="light">
<input class="form-control fs-5 bg-light f-bourton-base box-shadow-none" id="search-input" type="search"
placeholder="{{ __('Nom de ma recherche') }}">
<input class="form-control fs-5 bg-light f-bourton-base box-shadow-none"
id="search-input" type="search" placeholder="{{ __('Nom de ma recherche') }}">
<label for="search-input">{{ __('Nom de ma recherche') }}</label>
</div>
<button class="btn btn-light border-start-0 box-shadow-none" type="submit"
@ -33,14 +36,13 @@
@endpush
</div>
</div>
{{-- CLOSE BTN --}}
<button class="btn btn-link text-light text-decoration-none f-bourton-base position-md-absolute end-0"
<button
class="btn btn-link text-light text-decoration-none f-bourton-base position-md-absolute end-0"
data-bs-dismiss="offcanvas" type="button" aria-label="{{ __('Fermer le menu de recherche') }}">
<i class="fa-solid fa-xmark me-2"></i>
<span class="d-none d-sm-inline">{{ __('Fermer') }}</span>
</button>
<span class="visually-hidden" id="{{ $id }}-label">{{ __('Menu de recherche') }}</span>
</div>
<div class="col mt-2 text-center">
@ -55,8 +57,8 @@
@endphp
@foreach ($searchFilters as $name => $searchFilter)
<div class="btn-group">
<input class="btn-check" id="btn-check-{{ $name }}" name="{{ $name }}" type="checkbox"
@checked(request()->get($name)) autocomplete="off">
<input class="btn-check" id="btn-check-{{ $name }}" name="{{ $name }}"
type="checkbox" @checked(request()->get($name)) autocomplete="off">
<label class="btn btn-light text-tertiary fs-5 mx-2 mb-3 rounded px-3 py-1"
for="btn-check-{{ $name }}">{{ $searchFilter }}</label>
</div>

View file

@ -12,9 +12,7 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
@php $userPoints = 645; @endphp
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon mb-3">@include('club.icons.tete-poule')</span>
@ -25,7 +23,6 @@
</p>
</div>
</section>
{{-- DESKTOP MENU AND EARNED POINTS --}}
<div class="row mb-3">
<div class="col-lg-5 col-xl-4 d-none d-lg-block g-lg-5">
@ -75,7 +72,6 @@
])
</div>
</div>
{{-- FAVORITES --}}
<section class="row mb-5">
<div class="col-6 col-lg-4 d-none d-sm-block g-lg-5">
@ -104,7 +100,6 @@
</div>
</div>
</section>
{{-- Account Menu --}}
<section class="row d-sm-none mb-5">
<div class="col text-center">
@ -120,7 +115,6 @@
</span>
<i class="fa-solid fa-chevron-left fa-xl fa-flip-horizontal" aria-hidden="true"></i>
</a>
<a class="d-flex align-items-center text-decoration-none f-bourton-base text-bg-primary m-3 border-0 px-3 py-4 shadow"
href="{{ route('club.discounts.index') }}" title="{{ __('Go to page :page', ['page' => 'Mes coupons']) }}">
@include('club.icons.ticket')
@ -133,7 +127,6 @@
</span>
<i class="fa-solid fa-chevron-left fa-xl fa-flip-horizontal" aria-hidden="true"></i>
</a>
<a class="d-flex text-bg-primary text-decoration-none f-bourton-base align-items-center m-3 border-0 px-3 py-4 shadow"
href="{{ route('club.quests.index') }}" title="{{ __('Go to page :page', ['page' => 'La quête']) }}">
@include('club.icons.coupe')
@ -141,7 +134,6 @@
<span class="d-flex px-2"></span>
<i class="fa-solid fa-chevron-left fa-xl fa-flip-horizontal" aria-hidden="true"></i>
</a>
<a class="text-decoration-none f-bourton-base text-bg-primary d-flex align-items-center m-3 border-0 px-3 py-4 shadow"
href="#FIXME: parrainage" title="{{ __('Go to page :page', ['page' => 'Parrainages']) }}">
@include('club.icons.personnes')
@ -151,14 +143,12 @@
</a>
</div>
</section>
{{-- Mobile Departaimant complete collection --}}
<section class="row d-sm-none mb-5">
<div class="col">
@include('club.pages.customers.partials.card-club-departaimant')
</div>
</section>
<section class="row mb-5">
<div class="col">
@include('club.pages.customers.partials.customer-info-form')

View file

@ -1,8 +1,8 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('lastname')) is-invalid @endif mx-auto" name="lastname" type="text"
value="{{ old('lastname', $crmCustomer->lastname ?? null) }}" aria-label="{{ __('Nom') }}" placeholder="{{ __('Nom') }}*"
autocomplete="family-name" required />
<input class="form-control @if ($errors->has('lastname')) is-invalid @endif mx-auto" name="lastname"
type="text" value="{{ old('lastname', $crmCustomer->lastname ?? null) }}" aria-label="{{ __('Nom') }}"
placeholder="{{ __('Nom') }}*" autocomplete="family-name" required />
@foreach ($errors->get('lastname') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@endforeach
@ -11,9 +11,9 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('firstname')) is-invalid @endif mx-auto" name="firstname" type="text"
value="{{ old('firstname', $crmCustomer->firstname ?? null) }}" aria-label="{{ __('Prénom') }}"
placeholder="{{ __('Prénom') }}*" autocomplete="given-name" required />
<input class="form-control @if ($errors->has('firstname')) is-invalid @endif mx-auto" name="firstname"
type="text" value="{{ old('firstname', $crmCustomer->firstname ?? null) }}"
aria-label="{{ __('Prénom') }}" placeholder="{{ __('Prénom') }}*" autocomplete="given-name" required />
@foreach ($errors->get('firstname') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@endforeach
@ -41,9 +41,9 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('email')) is-invalid @endif mx-auto" name="email" type="email"
value="{{ old('email', $crmCustomer->email ?? null) }}" aria-label="{{ __('Adresse email') }}"
placeholder="{{ __('Votre adresse email') }}*" autocomplete="email"
<input class="form-control @if ($errors->has('email')) is-invalid @endif mx-auto" name="email"
type="email" value="{{ old('email', $crmCustomer->email ?? null) }}"
aria-label="{{ __('Adresse email') }}" placeholder="{{ __('Votre adresse email') }}*" autocomplete="email"
@if (!empty($displayEdit)) disabled @else required @endif />
@foreach ($errors->get('email') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@ -53,8 +53,8 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('phone')) is-invalid @endif mx-auto" name="phone" type="tel"
value="{{ old('phone', $crmCustomer->phone ?? null) }}" aria-label="{{ __('Téléphone') }}"
<input class="form-control @if ($errors->has('phone')) is-invalid @endif mx-auto" name="phone"
type="tel" value="{{ old('phone', $crmCustomer->phone ?? null) }}" aria-label="{{ __('Téléphone') }}"
placeholder="{{ __('Téléphone') }}" autocomplete="tel" />
@foreach ($errors->get('phone') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@ -64,9 +64,11 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('address')) is-invalid @endif mx-auto" name="address" type="text"
value="{{ old('address', $crmCustomer->address ?? null) }}" aria-label="{{ __('validation.attributes.line_address_1') }}"
placeholder="{{ Str::ucfirst(__('validation.attributes.line_address_1')) }}*" autocomplete="address-line1" required />
<input class="form-control @if ($errors->has('address')) is-invalid @endif mx-auto" name="address"
type="text" value="{{ old('address', $crmCustomer->address ?? null) }}"
aria-label="{{ __('validation.attributes.line_address_1') }}"
placeholder="{{ Str::ucfirst(__('validation.attributes.line_address_1')) }}*" autocomplete="address-line1"
required />
@foreach ($errors->get('address') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@endforeach
@ -74,9 +76,11 @@
</div>
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('address2')) is-invalid @endif mx-auto" name="address2" type="text"
value="{{ old('address2', $crmCustomer->address2 ?? null) }}" aria-label="{{ __('validation.attributes.line_address_2') }}"
placeholder="{{ Str::ucfirst(__('validation.attributes.line_address_2')) }}" autocomplete="address-line2" />
<input class="form-control @if ($errors->has('address2')) is-invalid @endif mx-auto" name="address2"
type="text" value="{{ old('address2', $crmCustomer->address2 ?? null) }}"
aria-label="{{ __('validation.attributes.line_address_2') }}"
placeholder="{{ Str::ucfirst(__('validation.attributes.line_address_2')) }}"
autocomplete="address-line2" />
@foreach ($errors->get('address2') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@endforeach
@ -85,9 +89,10 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('postal_code')) is-invalid @endif mx-auto" name="postal_code" type="text"
value="{{ old('postal_code', $crmCustomer->postcode ?? null) }}" aria-label="{{ __('Code postal') }}"
placeholder="{{ __('Code postal') }}*" autocomplete="postal-code" required />
<input class="form-control @if ($errors->has('postal_code')) is-invalid @endif mx-auto" name="postal_code"
type="text" value="{{ old('postal_code', $crmCustomer->postcode ?? null) }}"
aria-label="{{ __('Code postal') }}" placeholder="{{ __('Code postal') }}*" autocomplete="postal-code"
required />
@foreach ($errors->get('postal_code') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@endforeach
@ -96,9 +101,9 @@
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 py-2">
<input class="form-control @if ($errors->has('city')) is-invalid @endif mx-auto" name="city" type="text"
value="{{ old('city', $crmCustomer->city ?? null) }}" aria-label="{{ __('Ville') }}" placeholder="{{ __('Ville') }}*"
autocomplete="address-level2" required />
<input class="form-control @if ($errors->has('city')) is-invalid @endif mx-auto" name="city"
type="text" value="{{ old('city', $crmCustomer->city ?? null) }}" aria-label="{{ __('Ville') }}"
placeholder="{{ __('Ville') }}*" autocomplete="address-level2" required />
@foreach ($errors->get('city') as $message)
<div class="invalid-feedback">{{ $message }}</div>
@endforeach
@ -110,9 +115,14 @@
@php
// * Avoir les DROM-COM + France
$franceCountries = collect(\LDC\LDCCRM\Enums\Country::getValidCountries())->filter(
fn($enum) => !in_array($enum, [LDC\LDCCRM\Enums\Country::belgium(), LDC\LDCCRM\Enums\Country::luxembourg()]),
fn($enum) => !in_array($enum, [
LDC\LDCCRM\Enums\Country::belgium(),
LDC\LDCCRM\Enums\Country::luxembourg(),
]),
);
$countries = collect(\LDC\LDCCRM\Enums\Country::getValidCountries())->filter(
fn($enum) => !$franceCountries->contains($enum),
);
$countries = collect(\LDC\LDCCRM\Enums\Country::getValidCountries())->filter(fn($enum) => !$franceCountries->contains($enum));
$old_country = old('country', optional($crmCustomer->country ?? null)->value ?: null);
@endphp
<select id="country" name="country" aria-label="{{ Str::ucfirst(__('validation.attributes.country')) }}"
@ -146,9 +156,9 @@
@if (empty($displayEdit))
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 input-group d-flex justify-content-center py-2">
<input class="form-control custom-input-password @if ($errors->has('password')) is-invalid @endif" id="password"
name="password" type="password" aria-label="{{ __('Mot de passe') }}" placeholder="{{ __('Mot de passe') }}*"
autocomplete="new-password" required />
<input class="form-control custom-input-password @if ($errors->has('password')) is-invalid @endif"
id="password" name="password" type="password" aria-label="{{ __('Mot de passe') }}"
placeholder="{{ __('Mot de passe') }}*" autocomplete="new-password" required />
@php $dataPassword = ['id' => 'password']; @endphp
<span class="btn-group password-visibility" data-json='@json($dataPassword)'></span>
</div>
@ -156,11 +166,11 @@
<div class="invalid-feedback d-block">{{ $message }}</div>
@endforeach
</div>
<div class="row justify-content-center">
<div class="col col-md-10 col-lg-8 input-group d-flex justify-content-center py-2">
<input class="form-control custom-input-password @if ($errors->has('password_confirmation')) is-invalid @endif"
id="password_confirmation" name="password_confirmation" type="password" aria-label="{{ __('Confirmer Mot de passe') }}"
id="password_confirmation" name="password_confirmation" type="password"
aria-label="{{ __('Confirmer Mot de passe') }}"
placeholder="{{ __('Confirmer votre mot de passe') }}*" autocomplete="new-password" required />
@php $dataConfirmPassword = ['id' => 'password_confirmation']; @endphp
<span class="btn-group password-visibility" data-json='@json($dataConfirmPassword)'></span>
@ -169,7 +179,6 @@
<div class="invalid-feedback d-block">{{ $message }}</div>
@endforeach
</div>
<div class="row justify-content-center mb-3">
<div class="col col-md-8 lh-sm px-0 py-2 text-start">
<small>

View file

@ -1,5 +1,4 @@
<form class="text-bg-light form-customer-sponsorship rounded-4 container p-3">
<fieldset class="row mb-3">
<legend class="col-12 f-bourton-base mb-4">{{ __('Mes parrainages') }}</legend>
<div class="col-12">
@ -45,7 +44,6 @@
</div>
</div>
</fieldset>
<div class="row">
<div class="col d-flex justify-content-between">
<span>

View file

@ -12,7 +12,6 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon mb-3">
@ -26,7 +25,6 @@
</p>
</div>
</section>
<section class="container mb-5">
<div class="row">
<div class="col">
@ -41,7 +39,6 @@
</div>
</div>
</section>
<section class="container">
@php
$data = [
@ -56,5 +53,4 @@
<p>{{ __('Vous devez activer Javascript sur votre navigateur pour pouvoir utiliser la bourse aux échanges.') }}</p>
</noscript>
</section>
@endsection

View file

@ -12,7 +12,6 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon position-relative mb-3">
@ -30,5 +29,4 @@
</p>
</div>
</section>
@endsection

View file

@ -12,16 +12,15 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon mb-3">@include('club.icons.manette')</span>
<h1 class="text-uppercase">{{ __('Les jeux') }}</h1>
</div>
<div class="col-md-6">
<p>{{ __('En manque d\'idées de jeux pour vos enfants ? Vous êtes au bon endroit ! Retrouvez nos coloriages, nos activités manuelles, nos découpages ... il y en a pour tous les goûts et pour tous les âges !') }}
<p>
{{ __('En manque d\'idées de jeux pour vos enfants ? Vous êtes au bon endroit ! Retrouvez nos coloriages, nos activités manuelles, nos découpages ... il y en a pour tous les goûts et pour tous les âges !') }}
</p>
</div>
</section>
@endsection

View file

@ -13,24 +13,25 @@
<section class="row">
<div class="col-12 text-center">
<h1 class="text-uppercase f-bourton-base">{{ __('Profitez du club des gaulois') }}</h1>
<p>{{ __('Entrez dans le Club des Gaulois pour bénéficier des avantages réservés aux membres : bons de réduction, jeux concours, départ\'aimants, activités !') }}
<p>
{{ __('Entrez dans le Club des Gaulois pour bénéficier des avantages réservés aux membres : bons de réduction, jeux concours, départ\'aimants, activités !') }}
</p>
</div>
<div class="col-12">
<div class="d-flex justify-content-md-center flex-md-wrap overflow-md-0 overflow-x-scroll">
@include('club.partials.card-club-home', [
'outterClass' => 'm-3',
'picture' => Vite::asset('resources/assets/images/placeholders/club/homecards/wood.png'),
'picture' => Vite::asset('resources/assets/images/club/homepage/card-1.png'),
'line1' => __('Économiser'),
'line1Class' => 'fs-3',
'line2' => __('Dès aujourd’hui'),
'line2Class' => 'fs-4',
'content' => __('Spécial étudiant, Spécial famille, Spécial membre'),
'promoAmount' => 770,
'promoAmount' => 770 //FIXME: call mesbr,
])
@include('club.partials.card-club-home', [
'outterClass' => 'm-3',
'picture' => Vite::asset('resources/assets/images/placeholders/club/homecards/wood.png'),
'picture' => Vite::asset('resources/assets/images/club/homepage/card-2.png'),
'line1' => __('La communauté'),
'line1Class' => 'fs-4',
'line2' => __('départ’aimants'),
@ -41,7 +42,7 @@
])
@include('club.partials.card-club-home', [
'outterClass' => 'm-3',
'picture' => Vite::asset('resources/assets/images/placeholders/club/homecards/wood.png'),
'picture' => Vite::asset('resources/assets/images/club/homepage/card-3.png'),
'line1' => __('Des jeux'),
'line1Class' => 'fs-3',
'line2' => __('pour toute la famille'),
@ -51,7 +52,7 @@
])
@include('club.partials.card-club-home', [
'outterClass' => 'm-3',
'picture' => Vite::asset('resources/assets/images/placeholders/club/homecards/wood.png'),
'picture' => Vite::asset('resources/assets/images/club/homepage/card-4.png'),
'line1' => __('Gagner des cadeaux'),
'line1Class' => 'fs-3',
'line2' => __('grâce à la quête'),
@ -62,26 +63,29 @@
</div>
</div>
</section>
{{-- MOBILE INSCRIPTION --}}
<section class="row d-sm-none mb-5">
<div class="col d-flex flex-column align-items-center">
<a class="btn btn-secondary btn-lg flex-shrink-1 mb-3" href="#FIXME:register"
title="{{ __('Go to page :page', [
'page' => __('Inscription'),
]) }}">{{ __('Je m\'inscris') }}</a>
<a class="link-light link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover" href="#FIXME:login"
title="{{ __('Go to page :page', [
'page' => __('Connexion'),
]) }}">{{ __('J\'ai déjà un compte') }}</a>
<section class="container-fluid d-sm-none">
<div class="row my-3">
<div class="col d-flex flex-column align-items-center">
<a class="btn btn-secondary btn-lg flex-shrink-1 mb-3" href="#FIXME:register"
title="{{ __('Go to page :page', [
'page' => __('Inscription'),
]) }}">{{ __('Je m\'inscris') }}</a>
<a class="link-light link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover" href="#FIXME:login"
title="{{ __('Go to page :page', [
'page' => __('Connexion'),
]) }}">{{ __('J\'ai déjà un compte') }}</a>
</div>
</div>
</section>
{{-- SLIDER jeux --}}
<section class="container mb-5 p-0">
<div class="row">
<div class="col-12 text-center">
<h2 class="text-uppercase f-bourton-base"><span>{{ __('En ce moment') }}</span>{{ __('Des jeux concours !') }}</h2>
{{-- SLIDER JEUX --}}
<section class="container my-5 p-0">
<div class="row pt-5">
<div class="col-12 text-center pb-3">
<h2 class="position-relative text-uppercase f-bourton-base w-fit mx-auto">
<span class="title-red">{{ __('En ce moment') }}</span>
{{ __('Des jeux concours !') }}
</h2>
</div>
<div class="col g-0">
<div class="carousel slide carousel-concours" id="carousel-concours">
@ -111,13 +115,11 @@
</div>
</section>
@include('club.partials.rounded-section-bottom', ['color' => 'secondary'])
{{-- CLUB INFO --}}
<section class="row text-bg-secondary py-5">
<section class="row text-bg-secondary pt-5">
@include('club.partials.info-cards')
</section>
@include('club.partials.rounded-section-bottom', ['color' => 'primary'])
{{-- JOIN CLUB --}}
<section class="row text-bg-primary bg-club-footer py-5">
<div class="col-12 mb-4 text-center">
@ -137,5 +139,4 @@
</div>
<div class="col-12 mt-5 py-5"></div>
</section>
@endsection

View file

@ -12,7 +12,6 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon position-relative mb-3">
@ -27,22 +26,17 @@
<h1 class="text-uppercase">{{ __('Mes messages') }}</h1>
</div>
<div class="col-md-6">
<p>{{ __(' In lobortis congue augue, a commodo libero tincidunt scelerisque. Donec tempus congue lacinia. Phasellus lacinia felis est, placerat commodo odio tincidunt iaculis. Sed felis magna, iaculis a metus id, ullamcorper suscipit nulla.') }}
<p>
{{ __(' In lobortis congue augue, a commodo libero tincidunt scelerisque. Donec tempus congue lacinia. Phasellus lacinia felis est, placerat commodo odio tincidunt iaculis. Sed felis magna, iaculis a metus id, ullamcorper suscipit nulla.') }}
</p>
</div>
</section>
<section class="container mb-5 pb-5">
<div class="row">
<div class="col">
@php
$data = [
'currentUserId' => auth('club')->user()->id,
];
@endphp
@php $data = ['currentUserId' => auth('club')->user()->id]; @endphp
<div id="messages-chat" data-json='@json($data)'></div>
</div>
</div>
</section>
@endsection

View file

@ -12,7 +12,6 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon position-relative mb-3">
@ -27,7 +26,6 @@
<h1 class="text-uppercase">{{ __('Notifications') }}</h1>
</div>
</section>
<section class="container">
<div class="row">
<div class="col">
@ -43,5 +41,4 @@
</div>
</div>
</section>
@endsection

View file

@ -12,14 +12,14 @@
@section('backbtn-txt', __('Retour sur le club'))
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon mb-3">@include('club.icons.coupe')</span>
<h1 class="text-uppercase">{{ __('La quête') }}</h1>
</div>
<div class="col-md-6">
<p>{{ __('Récupère un maximum de points pour devenir un Gaulois ++ et profite de tous les avantages, des coupons dédiés, des remises sur la boutique et des cadeaux !') }}
<p>
{{ __('Récupère un maximum de points pour devenir un Gaulois ++ et profite de tous les avantages, des coupons dédiés, des remises sur la boutique et des cadeaux !') }}
</p>
</div>
</section>
@ -29,5 +29,4 @@
'points' => 645,
'showGetMorePointsBtn' => false,
])
@endsection

View file

@ -1,13 +1,16 @@
<div @class([
'card card-club-info rounded-5 border-0 text-bg-light shadow',
$outterClass ?? '',
])>
<img class="card-img-top rounded-5 rounded-bottom-0" src="{{ $picture }}" alt="{{ $picture_alt ?? __('Image de fond') }}">
<div class="card-body p-0">
<span @class(['info-tag', 'py-1 px-2 fw-bold text-uppercase', $tagClass])>{{ $tag }}</span>
<a class="card-text fs-4 f-bourton-base text-uppercase text-decoration-none" href="{{ $link }}"
title="{{ __('Go to page :page', [
'page' => $title,
]) }}">{{ $title }}</a>
<a class="text-decoration-none" href="{{ $link }}"
title="{{ __('Go to page :page', [
'page' => $title,
]) }}">
<div @class([
'card card-club-info rounded-5 border-0 text-bg-light shadow',
$outterClass ?? '',
])>
<img class="card-img-top rounded-5 rounded-bottom-0" src="{{ $picture }}"
alt="{{ $picture_alt ?? __('Image de fond') }}">
<div class="card-body p-0">
<span @class(['info-tag', 'py-1 px-2 fw-bold text-uppercase', $tagClass])>{{ $tag }}</span>
<p class="card-text fs-4 f-bourton-base text-uppercase">{{ $title }}</p>
</div>
</div>
</div>
</a>

View file

@ -1,8 +1,8 @@
@php
$gameLevel = \App\Enums\Games\GamePointLevel::fromPoints($points);
$gameLevels = \App\Enums\Games\GamePointLevel::all();
$percent = \App\Enums\Games\GamePointLevel::percentFromPoints($points);
$nextLevel = \App\Enums\Games\GamePointLevel::fromPointsNextLevel($points);
$gameLevel = \App\Enums\Games\GamePointLevel::fromPoints($points);
$gameLevels = \App\Enums\Games\GamePointLevel::all();
$percent = \App\Enums\Games\GamePointLevel::percentFromPoints($points);
$nextLevel = \App\Enums\Games\GamePointLevel::fromPointsNextLevel($points);
$toNextLevel = $nextLevel ? $nextLevel->level() - $points : 0;
@endphp
<section @class([

View file

@ -1,8 +1,11 @@
<div class="col-12 mb-5 text-center">
<h2 class="text-uppercase f-bourton-base">{{ __('Les infos') }}</h2>
<h2 class="position-relative text-uppercase f-bourton-base w-fit mx-auto">
{{ __('Les infos') }}
<span class="title-yellow">{{ __('du club') }}</span>
</h2>
</div>
<div class="col-12">
<div class="d-flex overflow-xl-0 justify-content-xl-center overflow-x-scroll py-4">
<div class="col-12 mt-2">
<div class="cards-wrapper d-flex overflow-xl-0 justify-content-xl-center overflow-x-scroll">
@include('club.partials.card-club-info', [
'outterClass' => 'm-0',
'picture' => Vite::asset('resources/assets/images/placeholders/club/infocards/info.jpg'),