Files
cleargame/resources/views/auth/login.blade.php
T
2025-04-12 17:18:33 +03:00

60 lines
2.2 KiB
PHP

@extends('layouts.auth')
@section('title', 'Login')
@section('subtitle', 'Welcome back! Please enter your details.')
@section('content')
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="mb-3">
<label for="email" class="form-label text-gray-400">Email</label>
<input id="email" type="email" class="form-control bg-dark text-white border-gray-800 @error('email') is-invalid @enderror"
name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<div class="mb-3">
<label for="password" class="form-label text-gray-400">Password</label>
<input id="password" type="password" class="form-control bg-dark text-white border-gray-800 @error('password') is-invalid @enderror"
name="password" required autocomplete="current-password">
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<div class="mb-3 form-check">
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
<label class="form-check-label text-gray-400" for="remember">
Remember me
</label>
</div>
<div class="d-grid gap-2">
<button type="submit" class="btn btn-gradient">
Login
</button>
</div>
<div class="text-center mt-3">
@if (Route::has('password.request'))
<a class="text-decoration-none text-gray-400" href="{{ route('password.request') }}">
Forgot your password?
</a>
@endif
</div>
</form>
<div class="text-center mt-4">
<p class="text-gray-400 mb-0">Don't have an account?
<a href="{{ route('register') }}" class="text-decoration-none gradient-text">Sign up</a>
</p>
</div>
@endsection