From 1fb76ff494dc868aabdb4ff88bae0d6218793992 Mon Sep 17 00:00:00 2001 From: devfake Date: Mon, 22 Jun 2015 19:35:08 +0200 Subject: [PATCH] styling and set server routes --- site/client/assets/sass/_modal.scss | 4 ++-- site/client/assets/sass/_nav.scss | 2 +- site/server/app/Http/routes.php | 15 ++++++++++++--- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/site/client/assets/sass/_modal.scss b/site/client/assets/sass/_modal.scss index c945a22..9487937 100644 --- a/site/client/assets/sass/_modal.scss +++ b/site/client/assets/sass/_modal.scss @@ -73,12 +73,12 @@ margin: 50px 0 0 0; width: 100%; text-align: center; - color: darken(#8798ac, 10%); + color: darken(#8798ac, 30%); cursor: pointer; @include transition(); &:hover { - color: #fff; + color: #8798ac; } } \ No newline at end of file diff --git a/site/client/assets/sass/_nav.scss b/site/client/assets/sass/_nav.scss index 58d78e0..38f33da 100644 --- a/site/client/assets/sass/_nav.scss +++ b/site/client/assets/sass/_nav.scss @@ -25,7 +25,7 @@ nav { cursor: pointer; height: 55px; - @include transition(color); + @include transition(); &:hover { color: #c5cfda; diff --git a/site/server/app/Http/routes.php b/site/server/app/Http/routes.php index 7cd0513..cde57ef 100755 --- a/site/server/app/Http/routes.php +++ b/site/server/app/Http/routes.php @@ -1,11 +1,15 @@ withSection('inner'); + return innerView(); }); get('/deck-builder', function() { - return view('app')->withSection('inner'); + return innerView(); + }); + + get('/highscore', function() { + return innerView(); }); get('/', function() { @@ -14,4 +18,9 @@ } return view('app')->withSection('landing'); - }); \ No newline at end of file + }); + + function innerView() + { + return view('app')->withSection('inner'); + } \ No newline at end of file