style: redesign landing page
This commit is contained in:
@@ -5,49 +5,117 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<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>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 40px;
|
||||
background-color: #f4f4f9;
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
margin: 0;
|
||||
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 {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
/* Efek glassmorphism */
|
||||
background: rgba(30, 41, 59, 0.85);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid rgba(255, 255, 255, 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 {
|
||||
text-align: center;
|
||||
color: #333;
|
||||
margin: 0 0 12px 0;
|
||||
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 {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.link-list li {
|
||||
margin: 15px 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.link-list a {
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
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;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border-radius: 12px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.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>
|
||||
</head>
|
||||
@@ -55,13 +123,43 @@
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h2>Laman Tugas WebGIS</h2>
|
||||
<p style="text-align: center;">Nama: Aleksander William | NIM: D1041231003</p>
|
||||
<div class="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>
|
||||
|
||||
<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">
|
||||
<li><a href="./pertemuan1/index.php">Tugas Pertemuan 1</a></li>
|
||||
<li><a href="./pertemuan2/index.php">Tugas Pertemuan 2</a></li>
|
||||
<li><a href="./WebGISPovertyMap/index.php">Tugas Poverty Map</a></li>
|
||||
<li>
|
||||
<a href="./pertemuan1/index.php">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user