diff options
-rw-r--r-- | app/Http/Controllers/PagesController.php | 10 | ||||
-rw-r--r-- | resources/views/inc/navbar.blade.php | 4 | ||||
-rw-r--r-- | resources/views/pages/activities.blade.php | 4 | ||||
-rw-r--r-- | resources/views/pages/reserve.blade.php | 4 | ||||
-rw-r--r-- | routes/web.php | 2 |
5 files changed, 24 insertions, 0 deletions
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 @@ <a href="{{ route('news') }}" class="nav-item nav-link {{ request()->routeIs('news') ? 'active' : '' }}">News</a> <a href="{{ route('gallery') }}" class="nav-item nav-link {{ request()->routeIs('gallery') ? 'active' : '' }}">Gallery</a> <a href="{{ route('sponsoring') }}" class="nav-item nav-link {{ request()->routeIs('sponsoring') ? 'active' : '' }}">Sponsoring</a> + <a href="{{ route('activities') }}" class="nav-item nav-link {{ request()->routeIs('activities') ? 'active' : '' }}">Activities</a> + <a href="{{ route('reserve') }}" class="nav-item nav-link {{ request()->routeIs('reserve') ? 'active' : '' }}">Make reservation</a> </div> + @if (!Auth::check()) <div class="navbar-nav ml-auto"> <a href="{{ route('login') }}" class="nav-item nav-link {{ request()->routeIs('login') ? 'active' : '' }}">Login</a> </div> + @endif </div> </nav> 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'); |