From 64b939e6ac0b196d18ee183a37a40b0bf7927a80 Mon Sep 17 00:00:00 2001 From: Natsuu Date: Wed, 14 Jan 2026 03:41:18 +0000 Subject: refactor: split App.svelte into components --- ui/src/components/BottomBar.svelte | 86 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 ui/src/components/BottomBar.svelte (limited to 'ui/src/components/BottomBar.svelte') diff --git a/ui/src/components/BottomBar.svelte b/ui/src/components/BottomBar.svelte new file mode 100644 index 0000000..ceba5b3 --- /dev/null +++ b/ui/src/components/BottomBar.svelte @@ -0,0 +1,86 @@ + + +
+
+
authState.openLoginModal()} + role="button" + tabindex="0" + onkeydown={(e) => e.key === "Enter" && authState.openLoginModal()} + > +
+ {#if authState.currentAccount} + {authState.currentAccount.username} + {:else} + ? + {/if} +
+
+
+ {authState.currentAccount ? authState.currentAccount.username : "Click to Login"} +
+
+ + {authState.currentAccount ? "Ready" : "Guest"} +
+
+
+ + +
+ +
+
+ + +
+ + +
+
-- cgit v1.2.3-70-g09d2 From 90a4cdf980b801570c001cd5c75b8aad46bcfb47 Mon Sep 17 00:00:00 2001 From: Natsuu Date: Wed, 14 Jan 2026 03:56:55 +0000 Subject: chore: add for attributes to labels in BottomBar and SettingsView components --- ui/src/components/BottomBar.svelte | 2 ++ ui/src/components/SettingsView.svelte | 24 ++++++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'ui/src/components/BottomBar.svelte') diff --git a/ui/src/components/BottomBar.svelte b/ui/src/components/BottomBar.svelte index ceba5b3..dcad9e8 100644 --- a/ui/src/components/BottomBar.svelte +++ b/ui/src/components/BottomBar.svelte @@ -54,10 +54,12 @@
- + >Memory Allocation (RAM)
-
-
- + >Game Window Size
- +
- +