From 94103febccf8cacee6b7c03a753ecfa2ff0cf2d6 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 17 Oct 2020 16:44:46 +0200 Subject: new links --- app/Http/Controllers/PagesController.php | 17 +++++++++++++++++ resources/views/inc/navbar.blade.php | 6 ++++-- resources/views/pages/gallery.blade.php | 4 ++++ resources/views/pages/login.blade.php | 4 ++++ resources/views/pages/news.blade.php | 4 ++++ 5 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 resources/views/pages/gallery.blade.php create mode 100644 resources/views/pages/login.blade.php create mode 100644 resources/views/pages/news.blade.php diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 8a3cfcc..7a7b184 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -16,6 +16,23 @@ class PagesController extends Controller return view('pages.sponsoring'); } + //-------------------------------------- + + public function news(Request $request) + { + return view('pages.news'); + } + + public function gallery(Request $request) + { + return view('pages.gallery'); + } + + public function login(Request $request) + { + return view('pages.login'); + } + //public function services() //{ ////$title = 'Some title'; diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php index be61c5d..78421a9 100644 --- a/resources/views/inc/navbar.blade.php +++ b/resources/views/inc/navbar.blade.php @@ -1,5 +1,5 @@ diff --git a/resources/views/pages/gallery.blade.php b/resources/views/pages/gallery.blade.php new file mode 100644 index 0000000..b4a9f19 --- /dev/null +++ b/resources/views/pages/gallery.blade.php @@ -0,0 +1,4 @@ +@extends('layouts.app') + +@section('content') +@endsection() diff --git a/resources/views/pages/login.blade.php b/resources/views/pages/login.blade.php new file mode 100644 index 0000000..b4a9f19 --- /dev/null +++ b/resources/views/pages/login.blade.php @@ -0,0 +1,4 @@ +@extends('layouts.app') + +@section('content') +@endsection() diff --git a/resources/views/pages/news.blade.php b/resources/views/pages/news.blade.php new file mode 100644 index 0000000..b4a9f19 --- /dev/null +++ b/resources/views/pages/news.blade.php @@ -0,0 +1,4 @@ +@extends('layouts.app') + +@section('content') +@endsection() -- cgit v1.2.3