diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 9293dc9..f79d199 100755 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -41,4 +41,11 @@ class HomeController extends Controller return view('home') ->with('positions', $positions); } + + public function pageGiveaway() + { + + return view('giveaway'); + + } } diff --git a/resources/views/giveaway.blade.php b/resources/views/giveaway.blade.php new file mode 100644 index 0000000..81e0951 --- /dev/null +++ b/resources/views/giveaway.blade.php @@ -0,0 +1,44 @@ +@extends('breadcrumbs.app') + +@section('content') + + +
+ +
+ + +
+
+ +

{{ __("Sorteio de Lançamento - 09/12/2021-13/12/2021") }}

+ +

Participe no sorteio abaixo para se habilitar aos variados prémios. Adira ao nosso Discord e venha-se divertir com a nossa comunidade!

+
+
+ + + + + +
+ +
+ + Voltar + +
+ +
+ +
+ +
+ + +@stop diff --git a/routes/web.php b/routes/web.php index 2f8a909..0d3b426 100755 --- a/routes/web.php +++ b/routes/web.php @@ -78,6 +78,9 @@ Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => ['lo Route::get('/', [HomeController::class, 'index']) ->middleware('eligibility'); + Route::get('/sorteio', [HomeController::class, 'pageGiveaway']) + ->name('giveaway'); + Route::post('/form/contact', [ContactController::class, 'create']) ->name('sendSubmission');