From a36c0a30957cd3e02544f82961604fe74e5417fe Mon Sep 17 00:00:00 2001 From: ekko <152005280+EKKOLearnAI@users.noreply.github.com> Date: Sat, 9 May 2026 19:45:12 +0800 Subject: [PATCH] feat(sidebar): add website link and shorten version text (#573) Add a website icon link (globe) alongside the GitHub icon in the sidebar footer. Shorten version label from "Hermes Web UI" to "Web UI". Co-authored-by: Claude Opus 4.7 --- .../src/components/layout/AppSidebar.vue | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/layout/AppSidebar.vue b/packages/client/src/components/layout/AppSidebar.vue index b5e6797..f48c61b 100644 --- a/packages/client/src/components/layout/AppSidebar.vue +++ b/packages/client/src/components/layout/AppSidebar.vue @@ -278,10 +278,15 @@ function openChangelog() {
- - - - Hermes Web UI v{{ appStore.serverVersion || "0.1.0" }} + + Web UI v{{ appStore.serverVersion || "0.1.0" }}
@@ -521,7 +526,14 @@ function openChangelog() { gap: 8px; } -.github-link { +.version-links { + display: flex; + align-items: center; + gap: 8px; +} + +.github-link, +.website-link { color: $text-muted; display: flex; align-items: center; @@ -538,6 +550,8 @@ function openChangelog() { } .version-text { + flex: 1; + white-space: nowrap; cursor: pointer; transition: color 0.2s; @@ -661,7 +675,7 @@ function openChangelog() { } .version-text, - .github-link { + .version-links { display: none; }