Website-E-Bendungan/resources/views/Auth/login.blade.php

44 lines
1.8 KiB
PHP

<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('/assets/css/style-authentication.css') }}">
</head>
<body>
<div class="login-container">
<h2>Selamat Datang Kembali!</h2>
<p>Masukan data akun anda untuk login ke Website</p>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Masukan email anda" value="{{ old('email') }}" required autofocus>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="Masukan password anda" minlength="8" required>
</div>
<div class="forgot-password">
@if (Route::has('password.request'))
<a href="{{ route('password.request') }}">Lupa Password?</a>
@endif
</div>
<button type="submit" class="login-button">Masuk</button>
</form>
</div>
</body>
</html>