diff options
author | Mateja <mail@matejamaric.com> | 2020-10-17 16:27:52 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-17 16:27:52 +0200 |
commit | 86a6987af4f3f1e2aef512b76811f70c5e6e8682 (patch) | |
tree | d6d3b4db5fd87e211b114a0654682af3c26f3b59 | |
parent | 9ec6fd39dfe08ac7ebdb44c5e89784a3aacb1266 (diff) | |
download | yota-laravel-86a6987af4f3f1e2aef512b76811f70c5e6e8682.tar.gz yota-laravel-86a6987af4f3f1e2aef512b76811f70c5e6e8682.zip |
Frontend work
-rw-r--r-- | app/Http/Controllers/PagesController.php | 37 | ||||
-rw-r--r-- | public/imgs/4o3a.png | bin | 0 -> 79983 bytes | |||
-rw-r--r-- | public/imgs/camp.png | bin | 0 -> 610511 bytes | |||
-rw-r--r-- | public/imgs/spiderbeam.gif | bin | 0 -> 7423 bytes | |||
-rw-r--r-- | public/imgs/yota.jpg | bin | 0 -> 73473 bytes | |||
-rw-r--r-- | resources/views/inc/navbar.blade.php | 5 | ||||
-rw-r--r-- | resources/views/pages/index.blade.php | 35 | ||||
-rw-r--r-- | resources/views/pages/sponsoring.blade.php | 6 | ||||
-rw-r--r-- | routes/web.php | 8 |
9 files changed, 68 insertions, 23 deletions
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 Binary files differnew file mode 100644 index 0000000..fed444a --- /dev/null +++ b/public/imgs/4o3a.png diff --git a/public/imgs/camp.png b/public/imgs/camp.png Binary files differnew file mode 100644 index 0000000..ddf7f9d --- /dev/null +++ b/public/imgs/camp.png diff --git a/public/imgs/spiderbeam.gif b/public/imgs/spiderbeam.gif Binary files differnew file mode 100644 index 0000000..185703b --- /dev/null +++ b/public/imgs/spiderbeam.gif diff --git a/public/imgs/yota.jpg b/public/imgs/yota.jpg Binary files differnew file mode 100644 index 0000000..2aca0b7 --- /dev/null +++ b/public/imgs/yota.jpg 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 @@ <div class="collapse navbar-collapse" id="navbarCollapse"> <div class="navbar-nav"> - <a href="/" class="nav-item nav-link {{ request()->routeIs('home') ? 'active' : '' }}">Home</a> - <a href="/services" class="nav-item nav-link {{ request()->routeIs('services') ? 'active' : '' }}">Services</a> - <a href="/about" class="nav-item nav-link {{ request()->routeIs('about') ? 'active' : '' }}">About</a> + <a href="{{ route('home') }}" class="nav-item nav-link {{ request()->routeIs('home') ? 'active' : '' }}">Home</a> + <a href="{{ route('sponsoring') }}" class="nav-item nav-link {{ request()->routeIs('sponsoring') ? 'active' : '' }}">Sponsoring</a> </div> <div class="navbar-nav ml-auto"> <a href="#" class="nav-item nav-link">Login</a> diff --git a/resources/views/pages/index.blade.php b/resources/views/pages/index.blade.php index 568151b..91b7557 100644 --- a/resources/views/pages/index.blade.php +++ b/resources/views/pages/index.blade.php @@ -1,6 +1,37 @@ @extends('layouts.app') @section('content') - <h1>{{ $title ?? 'Index'}}</h1> - <p>Something...</p> +<p> +Educational Center “Čardak“, + situated in the Special Reservation of “The Sand Pits of Deliblato“, + was established in 2010. +The purpose of the Center is to increase the consciousness of users in the area towards priorities of protection of the nature and towards stopping the decrease in biological diversity, + through presentation and organized education about the principles of sustainable management, + surveillance and administration, + and in this way to approximate the Reservation to the standards of the European Union. +The Capacity of Educational Centre “Čardak“ in The Special Reservation of Nature “The Sand Pits of Deliblato“ is consisted of: three houses with the floor space of 320 m2. +The establishment of this multifunctional Educational center, + surrounded by marked paths where one can find information boards, + rest landings and view points, + offers a complete stay in the nature, + especially for school children, + university students and experts in biological sciences. +Here one can get information and seek help, + take the advertising materials, + buy authentic souvenirs and prepare local or international projects. +</p><p> +<strong>School-recreational center “The Sand Pits of Deliblato“– “Čardak”</strong> is situated in the forest part of The Sand Pits, + only 7 kilometers away from the village Deliblato. +It is consisted of the management building, + restaurant (for 500 people), + 7 pavilions (two renovated, + with 130 beds), + 3 groups of bungalows, + auxiliary facilities, + sports courts and the following contents. +“Čardak“is surrounded by paths which are marked by information boards, + resting places and viewpoints. +It provides a complete stay in the nature for school children, + university students and especially experts in biological sciences. +</p> @endsection diff --git a/resources/views/pages/sponsoring.blade.php b/resources/views/pages/sponsoring.blade.php new file mode 100644 index 0000000..78ef499 --- /dev/null +++ b/resources/views/pages/sponsoring.blade.php @@ -0,0 +1,6 @@ +@extends('layouts.app') + +@section('content') +<p>If you are willing to be one of the sponsors of the event and help us set the high standards for Balkan YOTA camp, feel free to contact Goran YT7AW hajosevic at gmail . com</p> +<p>As part of the camp and presentations will be dedicated to already experienced HAM radio operators, this is a great opportunity to present your company and products in the region. Additionally a banner and link to your website will be made available here.</p> +@endsection() diff --git a/routes/web.php b/routes/web.php index 6cc36ad..e2fe063 100644 --- a/routes/web.php +++ b/routes/web.php @@ -31,7 +31,11 @@ use App\Http\Controllers\PagesController; //}); Route::get('/', [PagesController::class, 'index'])->name('home'); -Route::get('/services', [PagesController::class, 'services'])->name('services'); +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('/about', [PagesController::class, 'about'])->name('about'); +Route::get('/login', [PagesController::class, 'login'])->name('login'); + +//Route::get('/about', [PagesController::class, 'about'])->name('about'); //Route::get('/about', 'App\Http\Controllers\PagesController@about'); |