mirror of
https://github.com/exane/not-gwent-online
synced 2025-08-30 05:57:30 +00:00
styling and set server routes
This commit is contained in:
@@ -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');
|
||||
}
|
Reference in New Issue
Block a user