1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-08-30 05:57:30 +00:00

change landing view rendering to php

This commit is contained in:
devfake
2015-06-21 16:34:27 +02:00
parent 33ae055598
commit 66cc04d36c
19 changed files with 167 additions and 81 deletions

View File

@@ -12,12 +12,29 @@
<link href="{{ url('assets/css/app.css') }}" rel="stylesheet">
</head>
<body class="@{{ section }}">
<body class="{{ $section }}">
<component is="@{{ view }}" v-transition transition-mode="out-in"></component>
@yield('content')
<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')
}, 400);
// 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>