diff --git a/app/Http/Controllers/Bo/Re7Controller.php b/app/Http/Controllers/Bo/Re7Controller.php index 30c1dfa..77e9a1e 100644 --- a/app/Http/Controllers/Bo/Re7Controller.php +++ b/app/Http/Controllers/Bo/Re7Controller.php @@ -72,6 +72,16 @@ class Re7Controller extends Controller return view('theme::pages.participation.participate'); } + /** + * Show code input page + * + * @return \Illuminate\Contracts\View\View + */ + public function participationExhausted(): View + { + return view('theme::pages.participation.participation-exhausted'); + } + // * -- Participation /** diff --git a/composer.json b/composer.json index def7626..c0abcc6 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "uwil/gen-game-web", - "version": "2.5.10", + "version": "2.5.11", "type": "project", "description": "Game generator", "support": { diff --git a/resources/views/layouts/re7-offcanvas.blade.php b/resources/views/layouts/re7-offcanvas.blade.php index ca1e9cb..526820c 100644 --- a/resources/views/layouts/re7-offcanvas.blade.php +++ b/resources/views/layouts/re7-offcanvas.blade.php @@ -20,6 +20,11 @@ title="{{ __('Afficher la page de participation dans un nouvel onglet') }}" target="_blank">{{ __('Participation') }} + {{-- PARTICIPATION EXHAUSTED --}} + {{ __('Participation épuisée') }} + {{-- ENDGAME --}} name('re7.')->middleware(['auth:backend'])->group(function Route::get('end-game', [Re7Controller::class, 'endGame'])->name('end-game'); Route::get('discount', [Re7Controller::class, 'discount'])->name('discount'); Route::get('participate', [Re7Controller::class, 'participate'])->name('participate'); + Route::get('participation-exhausted', [Re7Controller::class, 'participationExhausted'])->name('participation-exhausted'); Route::get('gain/{prize}', [Re7Controller::class, 'prize'])->name('prize'); Route::get('perdu', [Re7Controller::class, 'loose'])->name('loose'); Route::get('mail-prize/{prize}', [Re7Controller::class, 'mailPrize'])->name('mail-prize');