Files
WebGIS/index.php
T

606 lines
23 KiB
PHP

<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sistem Informasi Geografis Terpadu - Portal WebGIS</title>
<!-- Premium Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
:root {
--bg-primary: #090d16;
--bg-card: rgba(17, 24, 39, 0.7);
--border-color: rgba(255, 255, 255, 0.08);
--text-main: #f3f4f6;
--text-muted: #9ca3af;
/* Card Theme Accent Colors */
--color-road: #06b6d4; /* Cyan */
--color-spbu: #f59e0b; /* Amber */
--color-poverty: #f43f5e; /* Rose */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Plus Jakarta Sans', sans-serif;
background-color: var(--bg-primary);
/* Rich radial gradient for modern background depth */
background-image:
radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.08), transparent 40%),
radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.08), transparent 45%),
radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05), transparent 50%),
linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
color: var(--text-main);
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 40px 20px;
overflow-x: hidden;
}
.container {
max-width: 1200px;
width: 100%;
margin: 0 auto;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
/* ==============================
HEADER SECTION
============================== */
header {
text-align: center;
margin-bottom: 50px;
}
.brand-icon-wrapper {
width: 70px;
height: 70px;
background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(244, 63, 94, 0.2));
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
position: relative;
}
.brand-icon-wrapper::after {
content: '';
position: absolute;
inset: -4px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.05);
animation: pulse-ring 3s linear infinite;
}
@keyframes pulse-ring {
0% { transform: scale(0.95); opacity: 0.8; }
50% { transform: scale(1.05); opacity: 0.4; }
100% { transform: scale(0.95); opacity: 0.8; }
}
h1 {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: -0.5px;
background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 12px;
}
.subtitle {
font-size: 1.05rem;
color: var(--text-muted);
max-width: 600px;
margin: 0 auto 24px;
line-height: 1.6;
}
.developer-badge {
display: inline-flex;
align-items: center;
gap: 10px;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid var(--border-color);
padding: 8px 18px;
border-radius: 30px;
font-size: 0.85rem;
font-weight: 500;
color: #e2e8f0;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.developer-badge .dot {
width: 8px;
height: 8px;
background-color: #10b981;
border-radius: 50%;
box-shadow: 0 0 10px #10b981;
animation: blink 2s infinite;
}
@keyframes blink {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.developer-badge span.separator {
opacity: 0.3;
margin: 0 4px;
}
.developer-badge span.nim {
color: #a1a1aa;
}
/* ==============================
CARD GRID SECTION
============================== */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 24px;
padding: 10px 0;
}
.card {
background: var(--bg-card);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--border-color);
border-radius: 24px;
padding: 32px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}
/* Top glow line per card based on its custom color */
.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, transparent, var(--theme-color), transparent);
opacity: 0.7;
}
.card:hover {
transform: translateY(-8px);
border-color: rgba(255, 255, 255, 0.18);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5),
0 0 30px -5px var(--theme-glow);
}
/* Specific Accent Colors variables setup for each card */
.card.card-road {
--theme-color: var(--color-road);
--theme-glow: rgba(6, 182, 212, 0.15);
}
.card.card-spbu {
--theme-color: var(--color-spbu);
--theme-glow: rgba(245, 158, 11, 0.15);
}
.card.card-poverty {
--theme-color: var(--color-poverty);
--theme-glow: rgba(244, 63, 94, 0.15);
}
/* Card Content Inner elements */
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24px;
}
.card-icon {
width: 52px;
height: 52px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: var(--theme-color);
transition: all 0.3s ease;
}
.card:hover .card-icon {
background: var(--theme-color);
color: #000000;
transform: rotate(5deg) scale(1.05);
box-shadow: 0 0 15px var(--theme-glow);
}
.module-badge {
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
padding: 4px 12px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.05);
color: var(--theme-color);
}
.card-title {
font-size: 1.4rem;
font-weight: 700;
color: #ffffff;
margin-bottom: 12px;
line-height: 1.3;
}
.card-description {
font-size: 0.92rem;
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 24px;
min-height: 72px; /* aligns grid content heights */
}
/* Features List styling */
.features-list {
list-style: none;
margin-bottom: 30px;
display: flex;
flex-direction: column;
gap: 12px;
}
.feature-item {
display: flex;
align-items: flex-start;
gap: 12px;
font-size: 0.88rem;
color: #e2e8f0;
line-height: 1.4;
}
.feature-check {
flex-shrink: 0;
width: 18px;
height: 18px;
margin-top: 2px;
color: var(--theme-color);
}
/* Tech Tags Group styling */
.tech-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 28px;
border-top: 1px dashed rgba(255, 255, 255, 0.06);
padding-top: 16px;
}
.tech-tag {
font-size: 0.75rem;
font-weight: 600;
color: #a1a1aa;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
padding: 4px 10px;
border-radius: 6px;
}
/* Launch Button styling */
.btn-launch {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
color: #ffffff;
font-weight: 600;
font-size: 0.95rem;
padding: 14px 20px;
border-radius: 14px;
text-decoration: none;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
position: relative;
z-index: 1;
}
.btn-launch svg {
transition: transform 0.3s ease;
}
.card:hover .btn-launch {
background: var(--theme-color);
border-color: var(--theme-color);
color: #090d16;
font-weight: 700;
box-shadow: 0 10px 20px -5px var(--theme-glow);
}
.card:hover .btn-launch svg {
transform: translateX(4px);
}
/* ==============================
FOOTER SECTION
============================== */
footer {
text-align: center;
margin-top: 60px;
font-size: 0.8rem;
color: #52525b;
letter-spacing: 0.5px;
}
/* ==============================
RESPONSIVE STYLE OVERRIDES
============================== */
@media (max-width: 768px) {
body {
padding: 24px 16px;
}
header {
margin-bottom: 30px;
}
h1 {
font-size: 1.85rem;
}
.subtitle {
font-size: 0.95rem;
margin-bottom: 16px;
}
.card-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.card {
padding: 24px;
}
.card-description {
min-height: auto;
margin-bottom: 16px;
}
.features-list {
margin-bottom: 20px;
}
.tech-tags {
margin-bottom: 20px;
}
}
</style>
</head>
<body>
<div class="container">
<!-- HEADER -->
<header>
<div class="brand-icon-wrapper">
<svg width="32" height="32" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7" />
</svg>
</div>
<h1>Portal Tugas WebGIS</h1>
<p class="subtitle">Kumpulan modul dan sistem pemetaan geografis digital berbasis web untuk visualisasi data spasial wilayah Kota Pontianak.</p>
<div class="developer-badge">
<div class="dot"></div>
<span>Aleksander William</span>
<span class="separator">|</span>
<span class="nim">NIM: D1041231003</span>
</div>
</header>
<!-- CARD GRID -->
<div class="card-grid">
<!-- CARD 1: WEBGIS JALAN DAN PARSIL -->
<div class="card card-road">
<div>
<div class="card-header">
<div class="card-icon">
<!-- Custom Path & Area Vector Icon -->
<svg width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7" />
</svg>
</div>
<span class="module-badge">Pertemuan 1</span>
</div>
<h2 class="card-title">WebGIS Jalan dan Parsil</h2>
<p class="card-description">Sistem pemetaan interaktif untuk melakukan digitasi, modifikasi, serta kalkulasi otomatis terhadap data jalan dan bidang tanah.</p>
<ul class="features-list">
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Digitasi & edit koordinat geometri (LineString & Polygon) di peta secara langsung.</span>
</li>
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Kalkulasi otomatis panjang jalan (m) dan luas parsil tanah ().</span>
</li>
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Manajemen data spasial yang terintegrasi penuh dengan sistem database MySQL.</span>
</li>
</ul>
</div>
<div>
<div class="tech-tags">
<span class="tech-tag">Leaflet.js</span>
<span class="tech-tag">Leaflet Draw</span>
<span class="tech-tag">PHP</span>
<span class="tech-tag">MySQL</span>
</div>
<a href="./pertemuan1/index.php" class="btn-launch">
<span>Buka Aplikasi</span>
<svg width="18" height="18" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M14 5l7 7m0 0l-7 7m7-7H3" />
</svg>
</a>
</div>
</div>
<!-- CARD 2: WEBGIS SPBU -->
<div class="card card-spbu">
<div>
<div class="card-header">
<div class="card-icon">
<!-- Fuel Pump Icon -->
<svg width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
</svg>
</div>
<span class="module-badge">Pertemuan 2</span>
</div>
<h2 class="card-title">WebGIS SPBU</h2>
<p class="card-description">Portal informasi sebaran Stasiun Pengisian Bahan Bakar Umum (SPBU) di wilayah Pontianak beserta detail jam operasional.</p>
<ul class="features-list">
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Layer Groups pengelompokan SPBU (Buka 24 Jam vs Tidak 24 Jam).</span>
</li>
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Kontrol layer base map (Pilihan OpenStreetMap & Citra Satelit).</span>
</li>
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>CRUD data lokasi SPBU lengkap melalui Web API berbasis PHP.</span>
</li>
</ul>
</div>
<div>
<div class="tech-tags">
<span class="tech-tag">Leaflet.js</span>
<span class="tech-tag">LayerControl</span>
<span class="tech-tag">PHP API</span>
<span class="tech-tag">MySQL</span>
</div>
<a href="./pertemuan2/index.php" class="btn-launch">
<span>Buka Aplikasi</span>
<svg width="18" height="18" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M14 5l7 7m0 0l-7 7m7-7H3" />
</svg>
</a>
</div>
</div>
<!-- CARD 3: WEBGIS POVERTY MAP -->
<div class="card card-poverty">
<div>
<div class="card-header">
<div class="card-icon">
<!-- Chart & Pin/Analytics Icon -->
<svg width="24" height="24" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M11 3.055A9.003 9.003 0 1020.945 13H11V3.055z" />
<path stroke-linecap="round" stroke-linejoin="round" d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z" />
</svg>
</div>
<span class="module-badge">Final Project</span>
</div>
<h2 class="card-title">WebGIS Poverty Map Kota Pontianak</h2>
<p class="card-description">Sistem terintegrasi analisis spasial sebaran penduduk miskin berbasis radius jarak (buffer) terhadap lokasi rumah ibadah.</p>
<ul class="features-list">
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Analisis spasial radius radius (buffer) penduduk miskin terdekat dari rumah ibadah.</span>
</li>
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Dashboard statistik terpadu dengan visualisasi chart data interaktif (Chart.js).</span>
</li>
<li class="feature-item">
<svg class="feature-check" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
</svg>
<span>Pencarian cepat, filter klaster data, & autentikasi keamanan admin/operator.</span>
</li>
</ul>
</div>
<div>
<div class="tech-tags">
<span class="tech-tag">Leaflet.js</span>
<span class="tech-tag">Chart.js</span>
<span class="tech-tag">MarkerCluster</span>
<span class="tech-tag">PHP</span>
<span class="tech-tag">MySQL</span>
</div>
<a href="./WebGISPovertyMap/index.php" class="btn-launch">
<span>Buka Aplikasi</span>
<svg width="18" height="18" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M14 5l7 7m0 0l-7 7m7-7H3" />
</svg>
</a>
</div>
</div>
</div>
<!-- FOOTER -->
<footer>
<p>&copy; 2026 Aleksander William &bull; Portal Tugas WebGIS Terpadu</p>
</footer>
</div>
</body>
</html>