From 86a6987af4f3f1e2aef512b76811f70c5e6e8682 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 17 Oct 2020 16:27:52 +0200 Subject: Frontend work --- app/Http/Controllers/PagesController.php | 37 ++++++++++++++++------------- public/imgs/4o3a.png | Bin 0 -> 79983 bytes public/imgs/camp.png | Bin 0 -> 610511 bytes public/imgs/spiderbeam.gif | Bin 0 -> 7423 bytes public/imgs/yota.jpg | Bin 0 -> 73473 bytes resources/views/inc/navbar.blade.php | 5 ++-- resources/views/pages/index.blade.php | 35 +++++++++++++++++++++++++-- resources/views/pages/sponsoring.blade.php | 6 +++++ routes/web.php | 8 +++++-- 9 files changed, 68 insertions(+), 23 deletions(-) create mode 100644 public/imgs/4o3a.png create mode 100644 public/imgs/camp.png create mode 100644 public/imgs/spiderbeam.gif create mode 100644 public/imgs/yota.jpg create mode 100644 resources/views/pages/sponsoring.blade.php diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 2ccafc8..8a3cfcc 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -6,27 +6,32 @@ use Illuminate\Http\Request; class PagesController extends Controller { - public function index() + public function index(Request $request) { return view('pages.index'); } - public function services() + public function sponsoring(Request $request) { - //$title = 'Some title'; - //return view('pages.index', compact('title')); - $data = [ - 'title' => 'Services', - 'services' => ['Web design', 'Programming', 'SEO'] - ]; - return view('pages.services')->with($data); + return view('pages.sponsoring'); } - public function about() - { - //$title = 'About'; - //return view('pages.index')->with('title', $title); - $data = ['title' => 'About']; - return view('pages.index')->with($data); - } + //public function services() + //{ + ////$title = 'Some title'; + ////return view('pages.index', compact('title')); + //$data = [ + //'title' => 'Services', + //'services' => ['Web design', 'Programming', 'SEO'] + //]; + //return view('pages.services')->with($data); + //} + + //public function about() + //{ + ////$title = 'About'; + ////return view('pages.index')->with('title', $title); + //$data = ['title' => 'About']; + //return view('pages.index')->with($data); + //} } diff --git a/public/imgs/4o3a.png b/public/imgs/4o3a.png new file mode 100644 index 0000000..fed444a Binary files /dev/null and b/public/imgs/4o3a.png differ diff --git a/public/imgs/camp.png b/public/imgs/camp.png new file mode 100644 index 0000000..ddf7f9d Binary files /dev/null and b/public/imgs/camp.png differ diff --git a/public/imgs/spiderbeam.gif b/public/imgs/spiderbeam.gif new file mode 100644 index 0000000..185703b Binary files /dev/null and b/public/imgs/spiderbeam.gif differ diff --git a/public/imgs/yota.jpg b/public/imgs/yota.jpg new file mode 100644 index 0000000..2aca0b7 Binary files /dev/null and b/public/imgs/yota.jpg differ diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php index 89492db..be61c5d 100644 --- a/resources/views/inc/navbar.blade.php +++ b/resources/views/inc/navbar.blade.php @@ -6,9 +6,8 @@