90 lines
5.1 KiB
PHP
90 lines
5.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Pilih Login - SARAKATA</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: { sans: ['Inter', 'sans-serif'] },
|
|
colors: {
|
|
primary: { 50:'#eef2ff',100:'#e0e7ff',200:'#c7d2fe',300:'#a5b4fc',400:'#818cf8',500:'#6366f1',600:'#4f46e5',700:'#4338ca',800:'#3730a3',900:'#312e81' },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
.gradient-text { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
|
|
.card-option { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
|
|
.card-option:hover { transform: translateY(-4px); }
|
|
</style>
|
|
</head>
|
|
<body class="min-h-screen flex items-center justify-center font-sans antialiased bg-gradient-to-br from-gray-50 via-primary-50 to-gray-50 relative overflow-hidden">
|
|
|
|
{{-- Decorative --}}
|
|
<div class="absolute top-20 -left-20 w-72 h-72 bg-primary-200/30 rounded-full blur-3xl"></div>
|
|
<div class="absolute bottom-10 right-10 w-96 h-96 bg-purple-200/20 rounded-full blur-3xl"></div>
|
|
|
|
<div class="w-full max-w-md relative z-10 px-4">
|
|
{{-- Logo --}}
|
|
<div class="text-center mb-10">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-primary-500 to-primary-700 rounded-2xl flex items-center justify-center mx-auto shadow-2xl shadow-primary-200 mb-5">
|
|
<i class="fas fa-book-open text-white text-2xl"></i>
|
|
</div>
|
|
<h1 class="text-3xl font-black text-gray-900 tracking-tight">Sara<span class="gradient-text">kata</span></h1>
|
|
<p class="text-gray-400 text-sm mt-2">Sistem Informasi Perpustakaan</p>
|
|
</div>
|
|
|
|
{{-- Options --}}
|
|
<div class="space-y-4">
|
|
<a href="{{ route('login.admin') }}" class="card-option block bg-white p-5 rounded-2xl border border-gray-100 shadow-sm hover:shadow-xl hover:shadow-primary-100/50 hover:border-primary-200 group">
|
|
<div class="flex items-center gap-4">
|
|
<div class="w-12 h-12 bg-gradient-to-br from-primary-500 to-primary-600 rounded-xl flex items-center justify-center shadow-lg shadow-primary-200 group-hover:shadow-primary-300 transition-shadow">
|
|
<i class="fas fa-user-shield text-white"></i>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="font-bold text-gray-900 text-sm">Masuk Sebagai Admin</h3>
|
|
<p class="text-gray-400 text-xs mt-0.5">Kelola perpustakaan sebagai administrator</p>
|
|
</div>
|
|
<i class="fas fa-chevron-right text-gray-300 group-hover:text-primary-500 transition-colors"></i>
|
|
</div>
|
|
</a>
|
|
|
|
<a href="{{ route('buku_tamu.index') }}" class="card-option block bg-white p-5 rounded-2xl border border-gray-100 shadow-sm hover:shadow-xl hover:shadow-emerald-100/50 hover:border-emerald-200 group">
|
|
<div class="flex items-center gap-4">
|
|
<div class="w-12 h-12 bg-gradient-to-br from-emerald-500 to-emerald-600 rounded-xl flex items-center justify-center shadow-lg shadow-emerald-200 group-hover:shadow-emerald-300 transition-shadow">
|
|
<i class="fas fa-pencil-alt text-white"></i>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="font-bold text-gray-900 text-sm">Isi Buku Tamu</h3>
|
|
<p class="text-gray-400 text-xs mt-0.5">Catat kunjungan Anda ke perpustakaan</p>
|
|
</div>
|
|
<i class="fas fa-chevron-right text-gray-300 group-hover:text-emerald-500 transition-colors"></i>
|
|
</div>
|
|
</a>
|
|
|
|
<a href="{{ route('home') }}" class="card-option block bg-white/50 p-5 rounded-2xl border border-gray-100 hover:bg-white group">
|
|
<div class="flex items-center gap-4">
|
|
<div class="w-12 h-12 bg-gray-100 rounded-xl flex items-center justify-center group-hover:bg-gray-200 transition-colors">
|
|
<i class="fas fa-arrow-left text-gray-400"></i>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="font-bold text-gray-600 text-sm">Kembali ke Beranda</h3>
|
|
<p class="text-gray-400 text-xs mt-0.5">Halaman utama perpustakaan</p>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<p class="text-center text-gray-300 text-xs mt-10 font-medium">© {{ date('Y') }} Sarakata Library System</p>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|