mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-23 19:36:53 +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;
|
margin: 50px 0 0 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: darken(#8798ac, 10%);
|
color: darken(#8798ac, 30%);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
@include transition();
|
@include transition();
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #fff;
|
color: #8798ac;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -25,7 +25,7 @@ nav {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
|
|
||||||
@include transition(color);
|
@include transition();
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #c5cfda;
|
color: #c5cfda;
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
get('/lobby', function() {
|
get('/lobby', function() {
|
||||||
return view('app')->withSection('inner');
|
return innerView();
|
||||||
});
|
});
|
||||||
|
|
||||||
get('/deck-builder', function() {
|
get('/deck-builder', function() {
|
||||||
return view('app')->withSection('inner');
|
return innerView();
|
||||||
|
});
|
||||||
|
|
||||||
|
get('/highscore', function() {
|
||||||
|
return innerView();
|
||||||
});
|
});
|
||||||
|
|
||||||
get('/', function() {
|
get('/', function() {
|
||||||
@ -14,4 +18,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
return view('app')->withSection('landing');
|
return view('app')->withSection('landing');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function innerView()
|
||||||
|
{
|
||||||
|
return view('app')->withSection('inner');
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user