style: redesign landing page
This commit is contained in:
@@ -5,49 +5,117 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Landing Page - Tugas WebGIS</title>
|
<title>Landing Page - Tugas WebGIS</title>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: Arial, sans-serif;
|
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||||
margin: 40px;
|
margin: 0;
|
||||||
background-color: #f4f4f9;
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
/* Background gelap dengan gradien yang sama persis dengan login page */
|
||||||
|
background: #0f172a;
|
||||||
|
background-image: radial-gradient(circle at top right, rgba(30, 64, 175, 0.15), transparent 40%),
|
||||||
|
radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.15), transparent 40%);
|
||||||
|
color: #f8fafc;
|
||||||
|
padding: 40px 20px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 600px;
|
/* Efek glassmorphism */
|
||||||
margin: 0 auto;
|
background: rgba(30, 41, 59, 0.85);
|
||||||
background: white;
|
backdrop-filter: blur(16px);
|
||||||
padding: 20px;
|
-webkit-backdrop-filter: blur(16px);
|
||||||
border-radius: 8px;
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
border-radius: 16px;
|
||||||
|
padding: 40px 32px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 450px;
|
||||||
|
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
|
||||||
|
text-align: center;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-wrapper {
|
||||||
|
width: 64px;
|
||||||
|
height: 64px;
|
||||||
|
background: rgba(59, 130, 246, 0.1);
|
||||||
|
border-radius: 16px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 0 auto 20px;
|
||||||
|
color: #3b82f6;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
margin: 0 0 12px 0;
|
||||||
color: #333;
|
font-size: 22px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-badge {
|
||||||
|
display: inline-block;
|
||||||
|
background: rgba(15, 23, 42, 0.6);
|
||||||
|
padding: 8px 16px;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #94a3b8;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-badge span {
|
||||||
|
color: #cbd5e1;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-list {
|
.link-list {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
margin: 0;
|
||||||
|
display: flex;
|
||||||
.link-list li {
|
flex-direction: column;
|
||||||
margin: 15px 0;
|
gap: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-list a {
|
.link-list a {
|
||||||
display: block;
|
display: flex;
|
||||||
padding: 10px 15px;
|
align-items: center;
|
||||||
background-color: #007bff;
|
justify-content: space-between;
|
||||||
color: white;
|
padding: 16px 20px;
|
||||||
|
background-color: rgba(15, 23, 42, 0.5);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
|
color: #e2e8f0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-radius: 5px;
|
border-radius: 12px;
|
||||||
text-align: center;
|
font-weight: 600;
|
||||||
font-weight: bold;
|
font-size: 14px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-list a:hover {
|
.link-list a:hover {
|
||||||
background-color: #0056b3;
|
background-color: #3b82f6;
|
||||||
|
border-color: #3b82f6;
|
||||||
|
color: #ffffff;
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-icon {
|
||||||
|
opacity: 0.5;
|
||||||
|
transition: transform 0.3s ease, opacity 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-list a:hover .link-icon {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateX(4px);
|
||||||
|
/* Animasi panah bergeser ke kanan */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -55,13 +123,43 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Laman Tugas WebGIS</h2>
|
<div class="icon-wrapper">
|
||||||
<p style="text-align: center;">Nama: Aleksander William | NIM: D1041231003</p>
|
<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>
|
||||||
|
|
||||||
|
<h2>Portal Tugas WebGIS</h2>
|
||||||
|
|
||||||
|
<div class="profile-badge">
|
||||||
|
<span>Aleksander William</span> <span style="opacity: 0.3; margin: 0 8px;">|</span> NIM: D1041231003
|
||||||
|
</div>
|
||||||
|
|
||||||
<ul class="link-list">
|
<ul class="link-list">
|
||||||
<li><a href="./pertemuan1/index.php">Tugas Pertemuan 1</a></li>
|
<li>
|
||||||
<li><a href="./pertemuan2/index.php">Tugas Pertemuan 2</a></li>
|
<a href="./pertemuan1/index.php">
|
||||||
<li><a href="./WebGISPovertyMap/index.php">Tugas Poverty Map</a></li>
|
<span>Tugas Pertemuan 1</span>
|
||||||
|
<svg class="link-icon" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./pertemuan2/index.php">
|
||||||
|
<span>Tugas Pertemuan 2</span>
|
||||||
|
<svg class="link-icon" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./WebGISPovertyMap/index.php">
|
||||||
|
<span>Tugas Poverty Map</span>
|
||||||
|
<svg class="link-icon" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user