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

prepare vue and little styling

This commit is contained in:
devfake
2015-06-21 13:09:29 +02:00
parent c29e398eb7
commit 9d7f473e76
18 changed files with 149 additions and 68 deletions

View File

@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="csrf-token" class="token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gwent Online</title>
@@ -11,16 +12,12 @@
<link href="{{ url('assets/css/app.css') }}" rel="stylesheet">
</head>
<body class="{{ $section }}">
<body class="@{{ section }}">
@yield('content')
<component is="@{{ view }}" v-transition transition-mode="out-in"></component>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="{{ url('assets/js/app.js') }}"></script>
<script>
$('.container-form-landing').addClass('active');
</script>
<script src="{{ url('assets/js/bundle.js') }}"></script>
</body>
</html>

View File

@@ -1,37 +0,0 @@
@extends('app')
@section('content')
@include('partials.modals.login')
<section class="container-landing">
<div class="wrap-landing">
<img src="{{ url('assets/img/logo-big.png') }}" width="243" height="85" alt="Gwent" class="logo-big">
<p class="teaser-landing">
Play The Witcher Gwent Card-Game online!<br>
Play with randomly generated teams, or build your own!
</p>
<div class="container-form-landing">
<form class="form-session">
<input type="text" placeholder="Username" class="field-session" autofocus>
<input type="password" placeholder="Password" class="field-session">
<div class="wrap-btn-action btn-register-action">
<input type="submit" value="Register" class="btn-action">
<i class="icon-load"></i>
</div>
</form>
<span class="choose">or</span>
<a href="#" class="btn-second btn-guest">Play as guest</a>
<a href="#" class="btn-none btn-login">Login</a>
</div>
</div>
</section>
@stop