Files
UAS_SIG/index.html
T

84 lines
5.3 KiB
HTML

<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebGIS Portal - SPBU & Kemiskinan</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #0f172a; color: #f1f5f9; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
/* Background decorative */
.bg-pattern { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(#334155 1px, transparent 1px); background-size: 40px 40px; opacity: 0.3; z-index: -1; }
.glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(15,23,42,0) 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
header { text-align: center; margin-bottom: 60px; z-index: 10; }
header h1 { font-size: 42px; font-weight: 800; background: linear-gradient(135deg, #60a5fa, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
header p { font-size: 18px; color: #cbd5e1; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.cards-container { display: flex; gap: 40px; max-width: 1000px; width: 100%; padding: 0 20px; z-index: 10; flex-wrap: wrap; justify-content: center; }
.choice-card { background: rgba(30, 41, 59, 0.7); border: 1px solid #334155; border-radius: 20px; padding: 40px 30px; width: calc(50% - 20px); min-width: 300px; text-align: center; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.choice-card:hover { transform: translateY(-10px); border-color: #3b82f6; box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(59,130,246,0.2); }
.choice-card .icon-box { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 36px; margin-bottom: 24px; transition: all 0.3s ease; }
/* SPBU Card Styles */
.card-spbu:hover .icon-box { background: rgba(59, 130, 246, 0.2); color: #60a5fa; box-shadow: 0 0 15px rgba(59,130,246,0.5); }
.card-spbu .icon-box { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
/* Poverty Card Styles */
.card-poverty:hover .icon-box { background: rgba(239, 68, 68, 0.2); color: #f87171; box-shadow: 0 0 15px rgba(239,68,68,0.5); }
.card-poverty .icon-box { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.choice-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; color: #f8fafc; }
.choice-card p { font-size: 15px; color: #94a3b8; line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-public { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }
.badge-private { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.admin-link { position: absolute; bottom: 30px; color: #64748b; text-decoration: none; font-size: 14px; transition: color 0.2s; z-index: 10; }
.admin-link:hover { color: #f8fafc; }
@media (max-width: 768px) {
.choice-card { width: 100%; }
header h1 { font-size: 32px; }
}
</style>
</head>
<body>
<div class="bg-pattern"></div>
<div class="glow"></div>
<header>
<h1>Portal WebGIS Cerdas</h1>
<p>Pilih sistem informasi spasial yang ingin Anda akses. Jelajahi data geospasial dengan mudah dan interaktif.</p>
</header>
<div class="cards-container">
<!-- Opsi 1: SPBU -->
<a href="spbu.html" class="choice-card card-spbu">
<div class="icon-box"><i class="fa-solid fa-gas-pump"></i></div>
<h2>Peta SPBU Terdekat</h2>
<p>Jelajahi lokasi SPBU di sekitar Anda. Temukan SPBU terdekat dengan mudah menggunakan fitur deteksi lokasi otomatis tanpa perlu login.</p>
<span class="badge badge-public"><i class="fa-solid fa-globe mr-1"></i> Akses Publik</span>
</a>
<!-- Opsi 2: Poverty Map -->
<a href="poverty.html" class="choice-card card-poverty">
<div class="icon-box"><i class="fa-solid fa-house-chimney-crack"></i></div>
<h2>Peta Kemiskinan</h2>
<p>Sistem analisis spasial untuk mendeteksi rumah penduduk miskin dalam radius yang dapat diatur dari fasilitas ibadah.</p>
<span class="badge badge-public"><i class="fa-solid fa-globe mr-1"></i> Akses Publik</span>
</a>
</div>
<a href="login.html?redirect=admin.html" class="admin-link">Masuk sebagai Administrator</a>
</body>
</html>