From 9966652542ea874ec30be567c28d505048ab9124 Mon Sep 17 00:00:00 2001 From: bdim404 Date: Fri, 6 Feb 2026 14:28:13 +0800 Subject: [PATCH] feat: Update Navbar and HistorySidebar layout for improved navigation and styling --- .../src/components/HistorySidebar.tsx | 9 +- qwen3-tts-frontend/src/components/Navbar.tsx | 87 ++++++++----------- qwen3-tts-frontend/src/pages/Home.tsx | 14 +-- 3 files changed, 53 insertions(+), 57 deletions(-) diff --git a/qwen3-tts-frontend/src/components/HistorySidebar.tsx b/qwen3-tts-frontend/src/components/HistorySidebar.tsx index 03322ec..1f88e0d 100644 --- a/qwen3-tts-frontend/src/components/HistorySidebar.tsx +++ b/qwen3-tts-frontend/src/components/HistorySidebar.tsx @@ -1,5 +1,6 @@ import { useRef, useEffect } from 'react' import { useTranslation } from 'react-i18next' +import { Link } from 'react-router-dom' import { useHistoryContext } from '@/contexts/HistoryContext' import { HistoryItem } from '@/components/HistoryItem' import { ScrollArea } from '@/components/ui/scroll-area' @@ -36,7 +37,13 @@ function HistorySidebarContent() { return (
-
+
+ + Qwen +

+ Qwen3-TTS-WebUI +

+

{t('historyTitle')}

{t('historyCount', { count: jobs.length })}

diff --git a/qwen3-tts-frontend/src/components/Navbar.tsx b/qwen3-tts-frontend/src/components/Navbar.tsx index 9ca8187..6a6a22e 100644 --- a/qwen3-tts-frontend/src/components/Navbar.tsx +++ b/qwen3-tts-frontend/src/components/Navbar.tsx @@ -22,69 +22,58 @@ export function Navbar({ onToggleSidebar }: NavbarProps) { const { t, i18n } = useTranslation(['nav', 'constants']) return ( -