Upload files to "/"
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
require_once 'koneksi.php';
|
||||
if (session_status() === PHP_SESSION_NONE) { session_start(); }
|
||||
// Jika sudah login, tombol otomatis mengarah ke dashboard internal baru
|
||||
$sudahLogin = isset($_SESSION['user_id']);
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="id">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Portal WebGIS Pendataan Rumah Miskin</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body { font-family: 'Inter', sans-serif; background: #f8fafc; color: #1e293b; scroll-behavior: smooth; }
|
||||
nav { background: white; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; top:0; z-index: 1000; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
|
||||
.logo { font-size: 18px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 8px; }
|
||||
.logo i { color: #3b82f6; }
|
||||
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
|
||||
.nav-links a { text-decoration: none; color: #64748b; font-size: 14px; font-weight: 500; transition: 0.2s; }
|
||||
.nav-links a:hover { color: #3b82f6; }
|
||||
.btn-portal { background: #3b82f6; color: white !important; padding: 10px 20px; border-radius: 8px; font-weight: 600 !important; box-shadow: 0 4px 10px rgba(59,130,246,0.2); text-decoration: none; }
|
||||
.btn-portal:hover { background: #2563eb; }
|
||||
header { padding: 160px 40px 100px; display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; gap: 60px; min-height: 85vh; }
|
||||
.hero-text { flex: 1; }
|
||||
.hero-text h1 { font-size: 44px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 20px; }
|
||||
.hero-text h1 span { color: #3b82f6; }
|
||||
.hero-text p { color: #64748b; font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
|
||||
.hero-visual { flex: 1; text-align: center; display: flex; justify-content: center; align-items: center; }
|
||||
.map-icon-box { background: white; border: 1px solid #e2e8f0; padding: 40px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.04); display: inline-flex; flex-direction: column; align-items: center; gap: 16px; }
|
||||
.map-icon-box i { font-size: 72px; color: #3b82f6; }
|
||||
section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
|
||||
section h2 { font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 12px; text-align: center; }
|
||||
.section-desc { text-align: center; color: #64748b; font-size: 15px; margin-bottom: 60px; }
|
||||
.tentang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
|
||||
.feature-card { background: white; padding: 30px; border-radius: 12px; border: 1px solid #e2e8f0; transition: 0.2s; }
|
||||
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px rgba(0,0,0,0.03); }
|
||||
.icon-circle { width: 48px; height: 48px; background: #eff6ff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #3b82f6; font-size: 20px; margin-bottom: 20px; }
|
||||
.kontak-wrapper { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; display: flex; gap: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
|
||||
.kontak-info { flex: 1; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
|
||||
.info-item { display: flex; align-items: center; gap: 16px; }
|
||||
.info-item i { font-size: 20px; color: #3b82f6; width: 24px; }
|
||||
.info-item h4 { font-size: 15px; color: #0f172a; font-weight: 600; }
|
||||
.info-item p { font-size: 14px; color: #64748b; margin-top: 2px; }
|
||||
.kontak-form { flex: 1.2; display: flex; flex-direction: column; gap: 16px; }
|
||||
.form-input { padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; font-family: inherit; font-size: 14px; }
|
||||
.btn-send { background: #0f172a; color: white; border: none; padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
|
||||
.btn-send:hover { background: #1e293b; }
|
||||
footer { background: #0f172a; color: #94a3b8; text-align: center; padding: 40px 20px; font-size: 14px; border-top: 1px solid #1e293b; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav>
|
||||
<div class="logo"><i class="fa fa-map-location-dot"></i> WebGIS Poverty</div>
|
||||
<ul class="nav-links">
|
||||
<li><a href="#beranda">Beranda</a></li>
|
||||
<li><a href="#tentang">Tentang</a></li>
|
||||
<li><a href="#kontak">Kontak</a></li>
|
||||
<li>
|
||||
<?php if ($sudahLogin): ?>
|
||||
<a href="login.php" class="btn-portal"><i class="fa fa-gauge"></i> Dashboard</a>
|
||||
<?php else: ?>
|
||||
<a href="login.php" class="btn-portal"><i class="fa fa-right-to-bracket"></i> Log In</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<header id="beranda">
|
||||
<div class="hero-text">
|
||||
<h1>Pemetaan Digital & Akurasi <span>Data Kemiskinan</span> Daerah.</h1>
|
||||
<p>Sistem integrasi pemetaan WebGIS untuk menyelaraskan verifikasi klaster penerima bantuan (KPM) antara pihak Pemerintah, Dinas Sosial, Relawan Lapangan, serta Operator Lembaga Rumah Ibadah secara waktu-nyata.</p>
|
||||
<a href="login.php" class="btn-portal" style="padding: 14px 28px; font-size: 15px;">Mulai Pendataan Sistem <i class="fa fa-arrow-right" style="margin-left: 6px;"></i></a>
|
||||
</div>
|
||||
<div class="hero-visual">
|
||||
<div class="map-icon-box">
|
||||
<i class="fa fa-earth-asia"></i>
|
||||
<span style="font-weight: 700; color: #0f172a; font-size: 16px;">Sistem Geografis Terpadu</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section id="tentang">
|
||||
<h2>Pilar Integrasi Sistem</h2>
|
||||
<p class="section-desc">Mekanisme kerja teratur guna memperkecil celah salah sasaran alokasi bantuan sosial.</p>
|
||||
<div class="tentang-grid">
|
||||
<div class="feature-card">
|
||||
<div class="icon-circle"><i class="fa fa-landmark"></i></div>
|
||||
<h3 style="font-size: 16px; margin-bottom: 10px;">Otoritas Pemerintah</h3>
|
||||
<p style="font-size: 14px; color: #64748b; line-height: 1.5;">Menyusun kebijakan program bantuan mentah, mengawasi peta sebaran spasial makro, dan meluncurkan pagu anggaran terpusat.</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="icon-circle"><i class="fa fa-route"></i></div>
|
||||
<h3 style="font-size: 16px; margin-bottom: 10px;">Verifikasi Relawan</h3>
|
||||
<p style="font-size: 14px; color: #64748b; line-height: 1.5;">Melakukan peninjauan koordinat fisik rumah tinggal (KPM) di lapangan untuk memastikan keaslian tingkat kelayakan ekonomi.</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="icon-circle"><i class="fa fa-hand-holding-heart"></i></div>
|
||||
<h3 style="font-size: 16px; margin-bottom: 10px;">Distribusi Lembaga</h3>
|
||||
<p style="font-size: 14px; color: #64748b; line-height: 1.5;">Operator internal pada titik peribadatan menyalurkan fisik komoditas bantuan dan melakukan validasi akhir status salur.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="kontak">
|
||||
<h2>Pusat Bantuan & Layanan</h2>
|
||||
<p class="section-desc">Punya kendala teknis operasional sistem atau pengajuan akun baru? Hubungi tim kami.</p>
|
||||
<div class="kontak-wrapper">
|
||||
<div class="kontak-info">
|
||||
<div class="info-item">
|
||||
<i class="fa fa-envelope"></i>
|
||||
<div>
|
||||
<h4>Kirim Email</h4>
|
||||
<p>support.poverty@domain.go.id</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<i class="fa fa-phone"></i>
|
||||
<div>
|
||||
<h4>Hubungi Call Center</h4>
|
||||
<p>(021) 8892-1293 / Dinas Sosial</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<i class="fa fa-location-dot"></i>
|
||||
<div>
|
||||
<h4>Kantor Operasional</h4>
|
||||
<p>Gedung Administrasi Terpadu, Lt. 3 Command Center</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<p>© <?= date('Y') ?> WebGIS Poverty Mapping Project. All Rights Reserved.</p>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user