2025-04-12 17:18:33 +03:00
|
|
|
@extends('layouts.auth')
|
2025-04-09 23:03:16 +03:00
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
@section('title', 'Login')
|
|
|
|
|
@section('subtitle', 'Welcome back! Please enter your details.')
|
|
|
|
|
|
|
|
|
|
@section('content')
|
2025-04-09 23:03:16 +03:00
|
|
|
<form method="POST" action="{{ route('login') }}">
|
|
|
|
|
@csrf
|
|
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
<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
|
2025-04-09 23:03:16 +03:00
|
|
|
</div>
|
|
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
<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
|
2025-04-09 23:03:16 +03:00
|
|
|
</div>
|
|
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
<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
|
2025-04-09 23:03:16 +03:00
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
2025-04-12 17:18:33 +03:00
|
|
|
<div class="d-grid gap-2">
|
|
|
|
|
<button type="submit" class="btn btn-gradient">
|
|
|
|
|
Login
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="text-center mt-3">
|
2025-04-09 23:03:16 +03:00
|
|
|
@if (Route::has('password.request'))
|
2025-04-12 17:18:33 +03:00
|
|
|
<a class="text-decoration-none text-gray-400" href="{{ route('password.request') }}">
|
|
|
|
|
Forgot your password?
|
2025-04-09 23:03:16 +03:00
|
|
|
</a>
|
|
|
|
|
@endif
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
2025-04-12 17:18:33 +03:00
|
|
|
|
|
|
|
|
<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
|