154 lines
7.9 KiB
PHP
154 lines
7.9 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>
|
|
|
|
<!-- Font & Icons -->
|
|
<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=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet">
|
|
|
|
<!-- CSS Notifikasi -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.css" />
|
|
|
|
<!-- App Vite (Tailwind CSS v4 & High-Legibility Tokens) -->
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
|
|
<style>
|
|
@keyframes float-slow {
|
|
0%, 100% { transform: translateY(0px) rotate(0deg); }
|
|
50% { transform: translateY(-10px) rotate(1deg); }
|
|
}
|
|
|
|
@keyframes pulse-glow {
|
|
0%, 100% { opacity: 0.35; transform: scale(1); }
|
|
50% { opacity: 0.65; transform: scale(1.1); }
|
|
}
|
|
|
|
@keyframes card-entrance {
|
|
0% { opacity: 0; transform: translateY(28px) scale(0.98); }
|
|
100% { opacity: 1; transform: translateY(0) scale(1); }
|
|
}
|
|
|
|
.animate-float-slow {
|
|
animation: float-slow 6s ease-in-out infinite;
|
|
}
|
|
|
|
.animate-pulse-glow {
|
|
animation: pulse-glow 8s ease-in-out infinite;
|
|
}
|
|
|
|
.animate-card-entrance {
|
|
animation: card-entrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.glass-card {
|
|
background: rgba(255, 255, 255, 0.98);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body class="min-h-screen bg-slate-950 font-sans text-slate-800 antialiased flex items-center justify-center p-4 sm:p-6 lg:p-8 relative overflow-x-hidden selection:bg-blue-600 selection:text-white">
|
|
|
|
<!-- Ambient Glowing Orbs Background -->
|
|
<div class="fixed inset-0 pointer-events-none overflow-hidden z-0">
|
|
<div class="absolute -top-40 -left-40 w-96 h-96 sm:w-[520px] sm:h-[520px] bg-blue-600/25 rounded-full blur-3xl animate-pulse-glow"></div>
|
|
<div class="absolute -bottom-40 -right-40 w-96 h-96 sm:w-[580px] sm:h-[580px] bg-indigo-600/20 rounded-full blur-3xl animate-pulse-glow" style="animation-delay: -3s;"></div>
|
|
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-80 h-80 bg-blue-500/15 rounded-full blur-3xl"></div>
|
|
<div class="absolute inset-0 bg-[radial-gradient(#334155_1px,transparent_1px)] [background-size:24px_24px] opacity-25"></div>
|
|
</div>
|
|
|
|
<!-- Main Login Card Container (Kompak & Proporsional) -->
|
|
<div class="w-full max-w-[740px] glass-card rounded-2xl shadow-2xl shadow-blue-950/40 border border-white/20 overflow-hidden relative z-10 animate-card-entrance grid grid-cols-1 md:grid-cols-12 min-h-[460px]">
|
|
|
|
<!-- Sisi Kiri: Brand & Visual Hero (5 Kolom) -->
|
|
<div class="md:col-span-5 relative bg-gradient-to-br from-blue-600 via-blue-700 to-indigo-900 p-6 sm:p-7 flex flex-col justify-between overflow-hidden text-white">
|
|
<div class="absolute -top-16 -right-16 w-48 h-48 bg-white/10 rounded-full blur-xl pointer-events-none"></div>
|
|
<div class="absolute -bottom-16 -left-16 w-52 h-52 bg-blue-400/20 rounded-full blur-xl pointer-events-none"></div>
|
|
<div class="absolute inset-0 bg-[radial-gradient(rgba(255,255,255,0.12)_1px,transparent_1px)] [background-size:16px_16px] pointer-events-none"></div>
|
|
|
|
|
|
<!-- Center Brand Section -->
|
|
<div class="relative z-10 my-6 sm:my-auto text-center flex flex-col items-center">
|
|
<div class="w-20 h-20 max-w-[80px] max-h-[80px] rounded-2xl bg-white/15 backdrop-blur-md p-3 flex items-center justify-center border border-white/30 shadow-lg shadow-blue-950/20 mb-3 animate-float-slow group shrink-0">
|
|
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="Logo UNTAN" class="h-full w-full max-h-full max-w-full object-contain filter drop-shadow-md transition-transform duration-300 group-hover:scale-105">
|
|
</div>
|
|
|
|
<h1 class="text-xl sm:text-2xl font-extrabold tracking-tight mb-1 text-white">Verifikator</h1>
|
|
<p class="text-xs font-medium text-blue-100/90 leading-relaxed max-w-[200px]">
|
|
Sistem Verifikasi Remunerasi<br>Universitas Tanjungpura
|
|
</p>
|
|
|
|
<div class="mt-4 inline-flex items-center gap-1.5 bg-white/10 backdrop-blur-md border border-white/20 px-3 py-1 rounded-full text-[11px] text-blue-50 font-medium shadow-2xs">
|
|
<i class="fas fa-shield-halved text-emerald-300 text-[10px]"></i>
|
|
<span>Single Sign-On Terintegrasi</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="relative z-10 text-center md:text-left text-[10px] text-blue-200/70 border-t border-white/10 pt-3">
|
|
© {{ date('Y') }} Universitas Tanjungpura
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Sisi Kanan: Single Sign-On Action (7 Kolom) -->
|
|
<div class="md:col-span-7 p-6 sm:p-8 flex flex-col justify-center bg-white relative">
|
|
<div class="max-w-[340px] w-full mx-auto">
|
|
<div class="mb-6">
|
|
<h2 class="text-xl sm:text-2xl font-black text-slate-900 tracking-tight mb-1">
|
|
Selamat Datang
|
|
</h2>
|
|
<p class="text-xs sm:text-sm text-slate-500 font-medium">
|
|
Gunakan akun resmi Portal Untan Anda untuk masuk ke sistem
|
|
</p>
|
|
</div>
|
|
|
|
<div class="space-y-4">
|
|
<a href="https://portal.untan.ac.id/login?next={{ urlencode(url('/dashboard')) }}"
|
|
class="w-full py-2.5 px-4 text-xs sm:text-sm font-bold text-white bg-blue-600 hover:bg-blue-700 active:bg-blue-800 rounded-lg shadow-md shadow-blue-600/30 hover:shadow-blue-600/40 hover:-translate-y-0.5 active:translate-y-0 transition-all duration-200 flex items-center justify-center gap-2.5 group">
|
|
<i class="fas fa-university text-sm transition-transform group-hover:scale-110"></i>
|
|
<span>Masuk dengan Portal Untan</span>
|
|
</a>
|
|
|
|
<div class="rounded-xl bg-blue-50/70 border border-blue-200/80 p-3.5 text-xs text-slate-600 leading-relaxed flex items-start gap-2.5">
|
|
<i class="fas fa-circle-info text-blue-600 text-sm mt-0.5 shrink-0"></i>
|
|
<div>
|
|
Anda akan diarahkan secara aman ke <strong class="text-blue-900 font-bold">portal.untan.ac.id</strong> untuk proses autentikasi menggunakan akun resmi Google <strong class="text-blue-900 font-bold">@untan.ac.id</strong>.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Scripts -->
|
|
<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'
|
|
});
|
|
}
|
|
|
|
@if (session('info'))
|
|
showInfo('Informasi', '{{ session('info') }}');
|
|
@endif
|
|
@if (session('error'))
|
|
new Notify({ status: 'error', title: 'Error', text: '{{ session('error') }}', effect: 'fade', autoclose: true, autotimeout: 5000, position: 'right top' });
|
|
@endif
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|