Migrate the existing login form to use React

This commit is contained in:
Dane Everitt 2019-06-09 19:26:20 -07:00
parent 0ab3768274
commit d9f30294de
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
15 changed files with 322 additions and 72 deletions

View file

@ -4,10 +4,7 @@
@section('container')
<div class="w-full max-w-xs sm:max-w-sm m-auto mt-8">
<div class="text-center hidden sm:block">
<img src="/assets/img/pterodactyl-flat.svg" class="max-w-xxs">
</div>
<router-view></router-view>
<div id="app"></div>
<p class="text-center text-neutral-500 text-xs">
{!! trans('strings.copyright', ['year' => date('Y')]) !!}
</p>

View file

@ -1,7 +1,7 @@
@extends('templates/wrapper')
@section('container')
<router-view></router-view>
<div id="app"></div>
@endsection
@section('below-container')

View file

@ -35,9 +35,7 @@
<body class="{{ $css['body'] ?? 'bg-neutral-50' }}">
@section('content')
@yield('above-container')
<div id="app" class="flex flex-col">
@yield('container')
</div>
@yield('container')
@yield('below-container')
@show
@section('scripts')