289 lines
8.7 KiB
PHP
289 lines
8.7 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 | {{ config('app.name') }}</title>
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.css" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
body {
|
|
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: "Inter", sans-serif;
|
|
padding: 20px;
|
|
}
|
|
|
|
.login-wrapper {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 20px;
|
|
box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
|
|
overflow: hidden;
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
border: 1px solid rgba(59, 130, 246, 0.1);
|
|
display: flex;
|
|
min-height: 600px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.login-wrapper:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 25px 50px rgba(30, 58, 138, 0.4);
|
|
}
|
|
|
|
.image-section {
|
|
flex: 1;
|
|
background: linear-gradient(45deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40px;
|
|
color: white;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.floating-elements::before,
|
|
.floating-elements::after {
|
|
content: '';
|
|
position: absolute;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
animation: float 6s ease-in-out infinite;
|
|
}
|
|
|
|
.floating-elements::before {
|
|
width: 200px;
|
|
height: 200px;
|
|
top: 10%;
|
|
right: -50px;
|
|
}
|
|
|
|
.floating-elements::after {
|
|
width: 150px;
|
|
height: 150px;
|
|
bottom: 20%;
|
|
left: -30px;
|
|
animation-delay: 3s;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-20px); }
|
|
}
|
|
|
|
.image-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
text-align: center;
|
|
}
|
|
|
|
.image-content .icon {
|
|
width: 120px;
|
|
height: 120px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto 30px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.image-content h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.image-content p {
|
|
font-size: 1.1rem;
|
|
opacity: 0.9;
|
|
line-height: 1.6;
|
|
max-width: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.form-section {
|
|
flex: 1;
|
|
padding: 50px 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.login-header h2 {
|
|
color: #1e3a8a;
|
|
font-weight: 600;
|
|
font-size: 2rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.login-header p {
|
|
color: #3b82f6;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.btn-portal {
|
|
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
|
border: none;
|
|
border-radius: 12px;
|
|
padding: 18px;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: white;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.btn-portal:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
|
|
background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1e40af 100%);
|
|
color: white;
|
|
}
|
|
|
|
.btn-portal:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.sso-info {
|
|
margin-top: 30px;
|
|
padding: 16px 20px;
|
|
background: #eff6ff;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.sso-info p {
|
|
color: #1e40af;
|
|
font-size: 13px;
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.login-wrapper {
|
|
flex-direction: column;
|
|
max-width: 500px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.image-section {
|
|
padding: 30px 20px;
|
|
min-height: 250px;
|
|
}
|
|
|
|
.image-content h1 { font-size: 1.8rem; }
|
|
|
|
.form-section {
|
|
padding: 30px 25px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.image-section {
|
|
padding: 25px 15px;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.form-section { padding: 25px 20px; }
|
|
.image-content h1 { font-size: 1.5rem; }
|
|
.login-header h2 { font-size: 1.3rem; }
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="login-wrapper">
|
|
<div class="image-section">
|
|
<div class="floating-elements"></div>
|
|
<div class="image-content">
|
|
<div class="icon">
|
|
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="untan.png" height="80">
|
|
</div>
|
|
<h1>Verifikator</h1>
|
|
<p>Sistem Verifikasi Remunerasi Universitas Tanjungpura</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-section">
|
|
<div class="login-header">
|
|
<h2>Selamat Datang</h2>
|
|
<p>Gunakan akun Portal Untan Anda untuk masuk</p>
|
|
</div>
|
|
|
|
<a href="https://portal.untan.ac.id/login?next={{ urlencode(url('/dashboard')) }}"
|
|
class="btn-portal">
|
|
<i class="fas fa-university fa-lg"></i>
|
|
Masuk dengan Portal Untan
|
|
</a>
|
|
|
|
<div class="sso-info">
|
|
<p>
|
|
<i class="fas fa-info-circle"></i>
|
|
Anda akan diarahkan ke <strong>portal.untan.ac.id</strong> untuk login
|
|
menggunakan akun Google <strong>@untan.ac.id</strong>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.min.js"></script>
|
|
<script>
|
|
function showInfo(title, text) {
|
|
new Notify({ status: 'info', title, text, effect: 'fade', autoclose: true, autotimeout: 5000, position: 'right top' });
|
|
}
|
|
|
|
window.addEventListener('load', function () {
|
|
const wrapper = document.querySelector('.login-wrapper');
|
|
wrapper.style.opacity = '0';
|
|
wrapper.style.transform = 'translateY(30px)';
|
|
setTimeout(() => {
|
|
wrapper.style.transition = 'all 0.8s ease';
|
|
wrapper.style.opacity = '1';
|
|
wrapper.style.transform = 'translateY(0)';
|
|
}, 100);
|
|
});
|
|
|
|
@if (session('info'))
|
|
showInfo('Informasi', '{{ session('info') }}');
|
|
@endif
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|