Initial commit
This commit is contained in:
+440
@@ -0,0 +1,440 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>WebGIS Portfolio Hub | Pontianak Geo-Spatial Projects</title>
|
||||
|
||||
<!-- Google Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
/* Modern Reset and Design Tokens */
|
||||
:root {
|
||||
--bg-color: #0b0f19;
|
||||
--card-bg: rgba(17, 24, 39, 0.7);
|
||||
--card-border: rgba(255, 255, 255, 0.08);
|
||||
--card-border-hover: rgba(99, 102, 241, 0.4);
|
||||
|
||||
--text-primary: #f3f4f6;
|
||||
--text-secondary: #9ca3af;
|
||||
|
||||
--primary: #6366f1;
|
||||
--primary-glow: rgba(99, 102, 241, 0.15);
|
||||
--secondary: #10b981;
|
||||
--accent-purple: #a855f7;
|
||||
--accent-orange: #f59e0b;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
background-color: var(--bg-color);
|
||||
background-image:
|
||||
radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
|
||||
radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
|
||||
background-attachment: fixed;
|
||||
color: var(--text-primary);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1.5;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Container & Layout */
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 3rem 1.5rem;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
header {
|
||||
text-align: center;
|
||||
margin-bottom: 4rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.badge-top {
|
||||
display: inline-block;
|
||||
background: rgba(99, 102, 241, 0.1);
|
||||
border: 1px solid rgba(99, 102, 241, 0.3);
|
||||
color: #818cf8;
|
||||
padding: 0.35rem 1rem;
|
||||
border-radius: 9999px;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Outfit', sans-serif;
|
||||
font-size: 3rem;
|
||||
font-weight: 800;
|
||||
background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
letter-spacing: -0.02em;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.15rem;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* Responsive Project Grid */
|
||||
.project-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
/* Glassmorphic Project Cards */
|
||||
.project-card {
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--card-border);
|
||||
border-radius: 1.25rem;
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.project-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: radial-gradient(circle at top right, var(--primary-glow), transparent 60%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.4s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.project-card:hover {
|
||||
transform: translateY(-6px);
|
||||
border-color: var(--card-border-hover);
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.05);
|
||||
}
|
||||
|
||||
.project-card:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Badge and Category inside Cards */
|
||||
.card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.proj-badge {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 9999px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.badge-1 { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
|
||||
.badge-2 { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
|
||||
.badge-3 { background: rgba(168, 85, 247, 0.1); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.2); }
|
||||
.badge-4 { background: rgba(99, 102, 241, 0.1); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.2); }
|
||||
|
||||
.card-icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 0.75rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.project-card:hover .card-icon {
|
||||
background: var(--primary);
|
||||
color: white;
|
||||
box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* Card Content */
|
||||
h2 {
|
||||
font-family: 'Outfit', sans-serif;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.75rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.project-desc {
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.925rem;
|
||||
font-weight: 300;
|
||||
margin-bottom: 1.5rem;
|
||||
height: 4.5rem;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Tech Badges List */
|
||||
.tech-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.tech-tag {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 4px;
|
||||
padding: 0.15rem 0.5rem;
|
||||
font-size: 0.75rem;
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
/* Action Buttons */
|
||||
.card-action {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-launch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
border-radius: 0.75rem;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
color: white;
|
||||
font-weight: 500;
|
||||
font-size: 0.95rem;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-launch svg {
|
||||
margin-left: 0.5rem;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.project-card:hover .btn-launch {
|
||||
background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
|
||||
border-color: transparent;
|
||||
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
|
||||
}
|
||||
|
||||
.project-card:hover .btn-launch svg {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
color: #4b5563;
|
||||
font-size: 0.85rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.03);
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: var(--text-secondary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
footer a:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* Subtle responsive adjustments */
|
||||
@media (max-width: 640px) {
|
||||
h1 {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
.container {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<!-- Hero Header -->
|
||||
<header>
|
||||
<span class="badge-top">Geographic Information Systems</span>
|
||||
<h1>WebGIS Portfolio Portal</h1>
|
||||
<p class="subtitle">A compilation of spatial visualization mapping applications representing Pontianak, West Kalimantan.</p>
|
||||
</header>
|
||||
|
||||
<!-- Project Grid -->
|
||||
<main class="project-grid">
|
||||
|
||||
<!-- Card 1: SPBU Marker System -->
|
||||
<article class="project-card">
|
||||
<div>
|
||||
<div class="card-header">
|
||||
<span class="proj-badge badge-1">Project 1</span>
|
||||
<div class="card-icon">
|
||||
<!-- Map Pin Icon -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></svg>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Pontianak SPBU Mapper</h2>
|
||||
<p class="project-desc">Interactive point mapping application for spatial distribution of petrol stations (SPBU) across Pontianak, complete with info window popups and marker listings.</p>
|
||||
<div class="tech-list">
|
||||
<span class="tech-tag">PHP</span>
|
||||
<span class="tech-tag">MySQL</span>
|
||||
<span class="tech-tag">LeafletJS</span>
|
||||
<span class="tech-tag">HTML/CSS</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a href="./spbu-map/" class="btn-launch">
|
||||
Launch Application
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Card 2: Road & Land Certificates (Polylines & Polygons) -->
|
||||
<article class="project-card">
|
||||
<div>
|
||||
<div class="card-header">
|
||||
<span class="proj-badge badge-2">Project 2</span>
|
||||
<div class="card-icon">
|
||||
<!-- Layers Icon -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m12 3-10 5L12 13l10-5-10-5Z"/><path d="m2 17 10 5 10-5"/><path d="m2 12 10 5 10-5"/></svg>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Parsil Tanah & Jalan</h2>
|
||||
<p class="project-desc">Mapping portal for road networks (Polylines) and land certificate coordinates (Polygons) featuring automatic length, perimeter, and area calculations.</p>
|
||||
<div class="tech-list">
|
||||
<span class="tech-tag">PHP</span>
|
||||
<span class="tech-tag">MySQL</span>
|
||||
<span class="tech-tag">LeafletJS</span>
|
||||
<span class="tech-tag">HTML/CSS</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a href="./parsil-tanah/" class="btn-launch">
|
||||
Launch Application
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Card 3: Chloropleth Map -->
|
||||
<article class="project-card">
|
||||
<div>
|
||||
<div class="card-header">
|
||||
<span class="proj-badge badge-3">Project 3</span>
|
||||
<div class="card-icon">
|
||||
<!-- Pie Chart / Globe Grid -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Choropleth Map Portal</h2>
|
||||
<p class="project-desc">A thematic map where geographical subareas of Pontianak are colored or shaded in proportion to demographic data, density, or other statistics.</p>
|
||||
<div class="tech-list">
|
||||
<span class="tech-tag">PHP</span>
|
||||
<span class="tech-tag">MySQL</span>
|
||||
<span class="tech-tag">LeafletJS</span>
|
||||
<span class="tech-tag">Thematic Color</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a href="./chloropleth/" class="btn-launch">
|
||||
Launch Application
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Card 4: Sistem KM (NextJS) -->
|
||||
<article class="project-card">
|
||||
<div>
|
||||
<div class="card-header">
|
||||
<span class="proj-badge badge-4">Final Project</span>
|
||||
<div class="card-icon">
|
||||
<!-- Terminal / Code Window -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 17 10 11 4 5"/><path d="M12 19h8"/></svg>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Sistem WebGIS Poverty Map - Sinergi Umat</h2>
|
||||
<p class="project-desc">Flagship Knowledge Management mapping platform with multi-role dashboards, heatmaps, interactive widgets, spatial queries, and authentication.</p>
|
||||
<div class="tech-list">
|
||||
<span class="tech-tag">Next.js 16</span>
|
||||
<span class="tech-tag">React 19</span>
|
||||
<span class="tech-tag">Supabase SSR</span>
|
||||
<span class="tech-tag">Leaflet & Heatmaps</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a id="nextjs-link" href="./sistem-km-next" class="btn-launch">
|
||||
Launch Application
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<p>© 2026 WebGIS Portfolio Portal. Developed for Geographic Information Systems Course.</p>
|
||||
</footer>
|
||||
|
||||
<!-- Smart Redirect Script for Next.js Dev Server vs Production Proxy -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const nextjsLink = document.getElementById('nextjs-link');
|
||||
// If accessing locally (localhost or .test local domains),
|
||||
// point the Next.js card directly to the running development port (3000)
|
||||
if (
|
||||
window.location.hostname === 'localhost' ||
|
||||
window.location.hostname === '127.0.0.1' ||
|
||||
window.location.hostname.endsWith('.test')
|
||||
) {
|
||||
nextjsLink.href = 'http://localhost:3000/sistem-km-next';
|
||||
} else {
|
||||
// In production/campus server deployment, use the relative subfolder path
|
||||
nextjsLink.href = './sistem-km-next';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user