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:
@@ -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>
|
Reference in New Issue
Block a user