189 lines
4.6 KiB
PHP
189 lines
4.6 KiB
PHP
@php $noNavbar = true; @endphp
|
|
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Login</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet">
|
|
|
|
<style>
|
|
body{
|
|
margin:0;
|
|
height:100vh;
|
|
background:#eaf2ff;
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
font-family: 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
.login-wrapper{
|
|
width:1000px;
|
|
max-width:95%;
|
|
background:#fff;
|
|
border-radius:20px;
|
|
box-shadow:0 20px 40px rgba(0,0,0,0.08);
|
|
display:flex;
|
|
overflow:hidden;
|
|
}
|
|
|
|
/* LEFT */
|
|
.login-left{
|
|
width:55%;
|
|
background:#f3f7ff;
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
padding:40px;
|
|
}
|
|
|
|
.login-left img{
|
|
width:100%;
|
|
max-width:400px;
|
|
}
|
|
|
|
/* RIGHT */
|
|
.login-right{
|
|
width:45%;
|
|
padding:60px 50px;
|
|
display:flex;
|
|
flex-direction:column;
|
|
justify-content:center;
|
|
}
|
|
|
|
.login-right h2{
|
|
font-weight:700;
|
|
margin-bottom:30px;
|
|
color:#2563eb;
|
|
text-align:center;
|
|
}
|
|
|
|
.form-control{
|
|
border-radius:10px;
|
|
padding:10px 12px;
|
|
}
|
|
|
|
.form-control:focus{
|
|
border-color:#2563eb;
|
|
box-shadow:none;
|
|
}
|
|
|
|
.btn-login{
|
|
background:#2563eb;
|
|
border:none;
|
|
border-radius:10px;
|
|
padding:10px;
|
|
font-weight:600;
|
|
}
|
|
|
|
.btn-login:hover{
|
|
background:#1d4ed8;
|
|
}
|
|
|
|
.auth-links{
|
|
text-align:center;
|
|
margin-top:20px;
|
|
font-size:14px;
|
|
}
|
|
|
|
.auth-links a{
|
|
text-decoration:none;
|
|
color:#2563eb;
|
|
}
|
|
|
|
.auth-links a:hover{
|
|
text-decoration:underline;
|
|
}
|
|
|
|
@media(max-width:768px){
|
|
.login-wrapper{
|
|
flex-direction:column;
|
|
}
|
|
.login-left,
|
|
.login-right{
|
|
width:100%;
|
|
}
|
|
.login-right{
|
|
padding:40px 30px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="login-wrapper">
|
|
|
|
<!-- LEFT IMAGE -->
|
|
<div class="login-left">
|
|
<!-- GANTI LINK GAMBAR SESUAI KEINGINAN -->
|
|
<img src="{{ asset('uploads/logo.png') }}" alt="Login Illustration">
|
|
</div>
|
|
|
|
<!-- RIGHT FORM -->
|
|
<div class="login-right">
|
|
|
|
<h2>LOGIN</h2>
|
|
|
|
<form method="POST" action="{{ route('login') }}">
|
|
@csrf
|
|
|
|
<div class="mb-3">
|
|
<input type="email"
|
|
name="email"
|
|
class="form-control @error('email') is-invalid @enderror"
|
|
placeholder="Email"
|
|
required
|
|
autofocus>
|
|
|
|
@error('email')
|
|
<div class="invalid-feedback">{{ $message }}</div>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<input type="password"
|
|
name="password"
|
|
class="form-control @error('password') is-invalid @enderror"
|
|
placeholder="Password"
|
|
required>
|
|
|
|
@error('password')
|
|
<div class="invalid-feedback">{{ $message }}</div>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="mb-3 form-check">
|
|
<input type="checkbox" name="remember" class="form-check-input">
|
|
<label class="form-check-label">Remember Me</label>
|
|
</div>
|
|
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-login text-white">
|
|
Login
|
|
</button>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<div class="auth-links">
|
|
@if (Route::has('password.request'))
|
|
<a href="{{ route('password.request') }}">
|
|
Forgot Password?
|
|
</a>
|
|
@endif
|
|
<br>
|
|
<a href="{{ route('register') }}">
|
|
Don't have an account? Sign Up
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html> |