Route::prefix(LaravelLocalization::setLocale())
->middleware([
'localeSessionRedirect',
'localizationRedirect',
'localeViewPath',
])
->middleware('guest')->group(function () {
Route::view('login', 'auth.login')->name('login');
Route::view('register', 'auth.register')->name('register');
});
@extends('layouts.base')
@section('meta.title', __('Login'))
@section('content')
<h1 class="title">{{ __('auth.sign_in') }}</h1>
@if (session('info'))
<div class="alert-info">{{ session('info') }}</div>
@endif
@include('auth.forms.login')
@endsection
*{
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
box-sizing:border-box;
margin:0;
padding:0;
}
.wrapper{
- display: table;
+ display: flex;
width: 100%;
min-height:100vh;
- height:100%;
}
.left-block,.right-block{
- display: inline-block;
- min-height:100%;
}
.left-block{width: 68%;background:green;}
.right-block{width: 32%;background:red;}