Files
Webgis/01/index.html
2026-06-10 23:21:21 +07:00

281 lines
9.0 KiB
HTML

<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WebGIS Poverty Mapping</title>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<style>
:root {
--primary: #00f2fe;
--secondary: #4facfe;
--accent: #ff0844;
--glass-bg: rgba(15, 23, 42, 0.6);
--glass-border: rgba(255, 255, 255, 0.1);
}
body, html {
margin: 0;
padding: 0;
font-family: 'Outfit', sans-serif;
height: 100%;
overflow-x: hidden;
background: #0f172a;
}
#bg-map {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 1;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 100%);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 2;
}
.content-wrapper {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 2rem;
color: white;
}
.header {
text-align: center;
margin-bottom: 4rem;
animation: fadeInDown 1s ease-out;
}
.header h1 {
font-size: 4rem;
font-weight: 900;
margin: 0 0 10px 0;
background: linear-gradient(to right, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-transform: uppercase;
letter-spacing: 2px;
text-shadow: 0 0 30px rgba(79, 172, 254, 0.3);
}
.header p {
font-size: 1.2rem;
color: #94a3b8;
font-weight: 300;
letter-spacing: 1px;
margin: 0;
}
.cards-container {
display: flex;
gap: 2rem;
flex-wrap: wrap;
justify-content: center;
max-width: 1200px;
width: 100%;
}
.card {
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 2.5rem 2rem;
width: 320px;
text-align: center;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
}
.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.4s ease;
}
.card:hover {
transform: translateY(-15px) scale(1.02);
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 30px 60px -10px rgba(0, 242, 254, 0.2);
}
.card:hover::before {
opacity: 1;
}
.icon-container {
font-size: 3.5rem;
margin-bottom: 1.5rem;
position: relative;
z-index: 2;
}
.card-1 .icon-container { color: #10b981; text-shadow: 0 0 20px rgba(16,185,129,0.5); }
.card-2 .icon-container { color: #f43f5e; text-shadow: 0 0 20px rgba(244,63,94,0.5); }
.card-3 .icon-container { color: #3b82f6; text-shadow: 0 0 20px rgba(59,130,246,0.5); }
.card h2 {
font-size: 1.5rem;
color: #f8fafc;
margin: 0 0 1rem 0;
font-weight: 700;
position: relative;
z-index: 2;
}
.card p {
font-size: 0.95rem;
color: #cbd5e1;
line-height: 1.6;
margin: 0 0 2rem 0;
font-weight: 300;
position: relative;
z-index: 2;
}
.btn {
display: inline-block;
padding: 0.8rem 2rem;
border-radius: 50px;
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
color: white;
transition: all 0.3s ease;
position: relative;
z-index: 2;
border: 1px solid transparent;
width: 70%;
}
.btn:hover {
transform: scale(1.05);
letter-spacing: 1px;
}
.btn-green {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
box-shadow: 0 10px 20px -5px rgba(16,185,129,0.4);
}
.btn-pink {
background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
box-shadow: 0 10px 20px -5px rgba(244,63,94,0.4);
}
.btn-blue {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
box-shadow: 0 10px 20px -5px rgba(59,130,246,0.4);
}
/* Animations */
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-30px); }
to { opacity: 1; transform: translateY(0); }
}
.card-1 { animation: fadeInUp 0.8s ease-out 0.2s both; }
.card-2 { animation: fadeInUp 0.8s ease-out 0.4s both; }
.card-3 { animation: fadeInUp 0.8s ease-out 0.6s both; }
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(40px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
.header h1 { font-size: 2.5rem; }
.card { width: 100%; max-width: 350px; }
}
</style>
</head>
<body>
<!-- Background Map -->
<div id="bg-map"></div>
<div class="overlay"></div>
<!-- Content -->
<div class="content-wrapper">
<div class="header">
<h1>WebGIS Pontianak</h1>
<p>Pusat Integrasi Data Geospasial & Kemiskinan</p>
</div>
<div class="cards-container">
<!-- Fasilitas & Tata Kota -->
<div class="card card-1">
<div class="icon-container"><i class="fa-solid fa-layer-group"></i></div>
<h2>Fasilitas & Tata Kota</h2>
<p>Manajemen pemetaan jalan, fasilitas publik, batas area, dan inventarisasi tata ruang kota Pontianak.</p>
<a href="dashboard.html" class="btn btn-green" onclick="localStorage.setItem('activeTab', 'fasilitas')">Masuk Sistem &rarr;</a>
</div>
<!-- Sosial & Kemasyarakatan -->
<div class="card card-2">
<div class="icon-container"><i class="fa-solid fa-users-viewfinder"></i></div>
<h2>Sosial Kemasyarakatan</h2>
<p>Sistem informasi geografis kawasan rentan, sebaran warga miskin, dan pemantauan rumah ibadah terpadu.</p>
<a href="dashboard.html" class="btn btn-pink" onclick="localStorage.setItem('activeTab', 'sosial')">Masuk Sistem &rarr;</a>
</div>
<!-- Portal Publik -->
<div class="card card-3">
<div class="icon-container"><i class="fa-solid fa-tower-broadcast"></i></div>
<h2>Portal Publik</h2>
<p>Akses peta interaktif secara transparan untuk masyarakat umum dan layanan pelaporan darurat.</p>
<a href="dashboard.html" class="btn btn-blue" onclick="localStorage.setItem('activeTab', 'publik')">Akses Warga &rarr;</a>
</div>
</div>
</div>
<script>
// Initialize an interactive background map
const map = L.map('bg-map', {
zoomControl: false,
dragging: false,
scrollWheelZoom: false,
doubleClickZoom: false,
boxZoom: false,
keyboard: false
}).setView([-0.0227, 109.3333], 13); // Pontianak coordinates
// Dark theme map tiles for better integration with the dark overlay
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
attribution: '&copy; OpenStreetMap contributors &copy; CARTO'
}).addTo(map);
// Add a slow continuous pan effect
setInterval(() => {
map.panBy([1, 0.5], {animate: true, duration: 1});
}, 100);
</script>
</body>
</html>