mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
rewrite app view
This commit is contained in:
parent
3bc8290ab8
commit
be39679690
@ -2,13 +2,13 @@ module.exports = {
|
||||
|
||||
template: require('../../views/modals/searchMatch.html'),
|
||||
|
||||
inherit: true,
|
||||
inherit: true,
|
||||
|
||||
methods: {
|
||||
cancelMatch: function() {
|
||||
this.modal = false;
|
||||
// trigger match functions
|
||||
}
|
||||
}
|
||||
methods: {
|
||||
cancelMatch: function() {
|
||||
this.modal = false;
|
||||
// trigger match functions
|
||||
}
|
||||
}
|
||||
|
||||
};
|
@ -12,4 +12,4 @@
|
||||
|
||||
</main>
|
||||
|
||||
<component is="chat"></component>
|
||||
<component is="chat"></component>
|
@ -14,11 +14,7 @@
|
||||
</head>
|
||||
<body class="{{ $section }}">
|
||||
|
||||
@if(Auth::check() || Request::path() != '/')
|
||||
<component is="inner"></component>
|
||||
@else
|
||||
<component is="landing"></component>
|
||||
@endif
|
||||
<component is="{{ $section }}"></component>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
||||
<script src="{{ url('assets/js/bundle.js') }}"></script>
|
||||
|
@ -6,6 +6,10 @@
|
||||
});
|
||||
|
||||
get('/', function() {
|
||||
if(Auth::check()) {
|
||||
return redirect('/lobby');
|
||||
}
|
||||
|
||||
return view('app')
|
||||
->withSection('landing');
|
||||
});
|
Loading…
Reference in New Issue
Block a user