From 928998f255c56b66a1c8491db815510b9ea9dd27 Mon Sep 17 00:00:00 2001 From: NanamiAdmin Date: Sun, 5 Apr 2026 21:31:44 +0800 Subject: [PATCH] refactor(components): move status indicator from topbar to sidebar Relocate the online status indicator component from the top navigation bar to the sidebar for better layout organization. Remove unused code and update styling to match sidebar theme. --- src/components/SideBar.vue | 62 ++++++++++++++++++++++++++++++++++++-- src/components/TopBar.vue | 37 ----------------------- 2 files changed, 60 insertions(+), 39 deletions(-) diff --git a/src/components/SideBar.vue b/src/components/SideBar.vue index 092cc44..3e48f70 100644 --- a/src/components/SideBar.vue +++ b/src/components/SideBar.vue @@ -12,6 +12,12 @@ {{ item.title }} +
+
+ + {{ isOnline ? 'Online' : 'Offline' }} +
+