1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-09-02 14:07:31 +00:00

rewrite structure

This commit is contained in:
devfake
2015-06-22 11:57:22 +02:00
parent 5972c72b67
commit 3bc8290ab8
15 changed files with 103 additions and 133 deletions

View File

@@ -14,27 +14,14 @@
</head>
<body class="{{ $section }}">
@yield('content')
@if(Auth::check() || Request::path() != '/')
<component is="inner"></component>
@else
<component is="landing"></component>
@endif
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="{{ url('assets/js/bundle.js') }}"></script>
<script>
// todo: extract to vue
setTimeout(function() {
$('.container-form-landing').addClass('active')
}, 300);
// todo: extract to vue
$('.btn-guest').on('click', function() {
// set localstorage for guest
$('.icon-guest-load').show();
setTimeout(function() {
window.location.href = './lobby';
}, 500);
});
</script>
</body>
</html>