mirror of
https://github.com/exane/not-gwent-online
synced 2024-12-23 21:03:14 +00:00
styling and set server routes
This commit is contained in:
parent
513efc2116
commit
1fb76ff494
@ -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;
|
||||
}
|
||||
}
|
@ -25,7 +25,7 @@ nav {
|
||||
cursor: pointer;
|
||||
height: 55px;
|
||||
|
||||
@include transition(color);
|
||||
@include transition();
|
||||
|
||||
&:hover {
|
||||
color: #c5cfda;
|
||||
|
@ -1,11 +1,15 @@
|
||||
<?php
|
||||
|
||||
get('/lobby', function() {
|
||||
return view('app')->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');
|
||||
});
|
||||
});
|
||||
|
||||
function innerView()
|
||||
{
|
||||
return view('app')->withSection('inner');
|
||||
}
|
Loading…
Reference in New Issue
Block a user