diff --git a/assets/mainboard.css b/assets/mainboard.css index 20c0315..d9e8212 100644 --- a/assets/mainboard.css +++ b/assets/mainboard.css @@ -61,15 +61,20 @@ body { .btn:hover { transform: scale(1.05); } /* Judul & Grid */ +/* Sedikit perbaikan CSS internal agar judul Pink muncul sempurna */ .title { text-align: center; margin-bottom: 20px; } .title h1 { - font-size: 38px; - margin: 0; - background: linear-gradient(purple, hotpink); - -webkit-background-clip: text; - background-clip: text; - color: transparent; + font-size: 38px; + margin: 0; + background: linear-gradient(purple, hotpink); + -webkit-background-clip: text; + background-clip: text; + color: transparent; + font-weight: bold; } +/* Pastikan user-info rata kiri rapi */ +.user-info h2 { margin: 0; font-size: 1.5rem; color: #333; } +.user-info p { margin: 0; color: #666; font-size: 0.9rem; } .stage-grid { display: grid; @@ -160,4 +165,5 @@ body { /* Musik */ .music-container { position: fixed; top: 20px; right: 20px; z-index: 1000; } -.music-btn { width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; font-size: 24px; background: white; } \ No newline at end of file +.music-btn { width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; font-size: 24px; background: white; } + diff --git a/assets/mainboard.js b/assets/mainboard.js index 95f74ca..fff760a 100644 --- a/assets/mainboard.js +++ b/assets/mainboard.js @@ -29,4 +29,13 @@ function closeCredits() { document.getElementById('creditsOverlay').style.display = 'none'; - } \ No newline at end of file + } + + // Karena JS eksternal mungkin tidak tahu lokasi logout.php, kita bantu disini + document.getElementById("logoutBtn").addEventListener("click", () => { + window.location.href = "logout.php"; + }); + + document.getElementById("leaderboardBtn").addEventListener("click", () => { + window.location.href = "Leaderboard.html"; // Atau Leaderboard.php jika sudah diubah + }); \ No newline at end of file diff --git a/mainboard.php b/mainboard.php index 73fd0b8..d57326e 100644 --- a/mainboard.php +++ b/mainboard.php @@ -1,59 +1,108 @@ +
-
-
-
-
-
-
-
+
+
+
+
+
+