aboutsummaryrefslogtreecommitdiff
path: root/app/Http
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-17 16:27:52 +0200
committerMateja <mail@matejamaric.com>2020-10-17 16:27:52 +0200
commit86a6987af4f3f1e2aef512b76811f70c5e6e8682 (patch)
treed6d3b4db5fd87e211b114a0654682af3c26f3b59 /app/Http
parent9ec6fd39dfe08ac7ebdb44c5e89784a3aacb1266 (diff)
downloadyota-laravel-86a6987af4f3f1e2aef512b76811f70c5e6e8682.tar.gz
yota-laravel-86a6987af4f3f1e2aef512b76811f70c5e6e8682.zip
Frontend work
Diffstat (limited to 'app/Http')
-rw-r--r--app/Http/Controllers/PagesController.php37
1 files changed, 21 insertions, 16 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);
+ //}
}