Compare commits

..

No commits in common. "0231a48a35bd66ae670b7a2333f40e3361f38296" and "01860cf570a56b2f1d67c28a6bec8c12fcf7281a" have entirely different histories.

3 changed files with 9 additions and 4 deletions

View File

@ -12,6 +12,7 @@ body {
color: white; color: white;
} }
/* TOPBAR */
.topbar { .topbar {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -43,6 +44,7 @@ body {
font-weight: bold; font-weight: bold;
} }
/* TITLE */
.title { .title {
text-align: center; text-align: center;
font-size: 32px; font-size: 32px;
@ -53,6 +55,7 @@ body {
margin-top: -10px; margin-top: -10px;
} }
/* FILTER BUTTONS */
.filter-container { .filter-container {
margin: 20px; margin: 20px;
display: flex; display: flex;
@ -70,6 +73,7 @@ body {
font-weight: bold; font-weight: bold;
} }
.filter-btn.active { .filter-btn.active {
background: white; background: white;
color: #000000; color: #000000;
@ -117,7 +121,7 @@ thead {
} }
.card h2 { .card h2 {
color: rgb(255, 0, 0); color: white;
} }
</style> </style>

View File

@ -32,7 +32,7 @@
</div> </div>
<div class="actions"> <div class="actions">
<button id="leaderboardBtn" class="btn gold" onclick="window.location.href='leaderboard.html'">🏆 Leaderboard</button> <button id="leaderboardBtn" class="btn gold">🏆 Leaderboard</button>
<button id="logoutBtn" class="btn gray">🚪 Logout</button> <button id="logoutBtn" class="btn gray">🚪 Logout</button>
</div> </div>
</header> </header>

View File

@ -7,8 +7,9 @@ function selectStage(stage) {
window.location.href = "gameboard-hard.html"; window.location.href = "gameboard-hard.html";
} }
} }
document.getElementById("leaderboardBtn").addEventListener("click", () => {
document.getElementById("leaderboardBtn").addEventListener("click", () => {window.location.href = "Leaderboard.html"}); alert("Menuju Leaderboard");
});
document.getElementById("logoutBtn").addEventListener("click", () => { document.getElementById("logoutBtn").addEventListener("click", () => {
alert("Logout berhasil!"); alert("Logout berhasil!");