diff options
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/PagesController.php | 37 |
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); + //} } |