From 97515e3dec78c2b785d19d4b0e5c31a037c360dd Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 17 Oct 2020 17:02:17 +0200 Subject: all links --- app/Http/Controllers/PagesController.php | 10 ++++++++++ resources/views/inc/navbar.blade.php | 4 ++++ resources/views/pages/activities.blade.php | 4 ++++ resources/views/pages/reserve.blade.php | 4 ++++ routes/web.php | 2 ++ 5 files changed, 24 insertions(+) create mode 100644 resources/views/pages/activities.blade.php create mode 100644 resources/views/pages/reserve.blade.php diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 7a7b184..086f2b9 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -33,6 +33,16 @@ class PagesController extends Controller return view('pages.login'); } + public function activities(Request $request) + { + return view('pages.activities'); + } + + public function reserve(Request $request) + { + return view('pages.reserve'); + } + //public function services() //{ ////$title = 'Some title'; diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php index 78421a9..0c5f4cd 100644 --- a/resources/views/inc/navbar.blade.php +++ b/resources/views/inc/navbar.blade.php @@ -10,9 +10,13 @@ News Gallery Sponsoring + Activities + Make reservation + @if (!Auth::check()) + @endif diff --git a/resources/views/pages/activities.blade.php b/resources/views/pages/activities.blade.php new file mode 100644 index 0000000..b4a9f19 --- /dev/null +++ b/resources/views/pages/activities.blade.php @@ -0,0 +1,4 @@ +@extends('layouts.app') + +@section('content') +@endsection() diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php new file mode 100644 index 0000000..b4a9f19 --- /dev/null +++ b/resources/views/pages/reserve.blade.php @@ -0,0 +1,4 @@ +@extends('layouts.app') + +@section('content') +@endsection() diff --git a/routes/web.php b/routes/web.php index e2fe063..b3912ab 100644 --- a/routes/web.php +++ b/routes/web.php @@ -34,6 +34,8 @@ Route::get('/', [PagesController::class, 'index'])->name('home'); Route::get('/news', [PagesController::class, 'news'])->name('news'); Route::get('/gallery', [PagesController::class, 'gallery'])->name('gallery'); Route::get('/sponsoring', [PagesController::class, 'sponsoring'])->name('sponsoring'); +Route::get('/activities', [PagesController::class, 'activities'])->name('activities'); +Route::get('/reserve', [PagesController::class, 'reserve'])->name('reserve'); Route::get('/login', [PagesController::class, 'login'])->name('login'); -- cgit v1.2.3