From 4207f6bbb9d88c20aaad1da5a31f2a74dd5742c3 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Thu, 15 Jan 2026 14:57:19 +0800 Subject: style: Update BottomBar component for improved UI and accessibility, including layout adjustments and icon integration --- ui/src/components/BottomBar.svelte | 54 ++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/ui/src/components/BottomBar.svelte b/ui/src/components/BottomBar.svelte index 0178111..198d4e6 100644 --- a/ui/src/components/BottomBar.svelte +++ b/ui/src/components/BottomBar.svelte @@ -2,22 +2,23 @@ import { authState } from "../stores/auth.svelte"; import { gameState } from "../stores/game.svelte"; import { uiState } from "../stores/ui.svelte"; + import { Terminal, ChevronDown, Play, User } from 'lucide-svelte';
authState.openLoginModal()} role="button" tabindex="0" onkeydown={(e) => e.key === "Enter" && authState.openLoginModal()} >
{#if authState.currentAccount} {:else} - ? + {/if}
-
- {authState.currentAccount ? authState.currentAccount.username : "Login"} +
+ {authState.currentAccount ? authState.currentAccount.username : "Login Account"}
-
+
- {authState.currentAccount ? "Ready to play" : "Guest Mode"} + {authState.currentAccount ? "Online" : "Guest"}
@@ -48,27 +49,22 @@
-
+
-
-
+
+ +
-- cgit v1.2.3-70-g09d2