From 7f481cb9580e78f3ab8f24facea0a653f46701d3 Mon Sep 17 00:00:00 2001 From: wowo-zZ Date: Sat, 14 Mar 2026 15:09:53 +0800 Subject: [PATCH 1/4] feat(i18n): add Chinese translation for explore nav link --- web/src/i18n/locales/zh.json | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/i18n/locales/zh.json b/web/src/i18n/locales/zh.json index 5a2b47cb..b7c7d3ea 100644 --- a/web/src/i18n/locales/zh.json +++ b/web/src/i18n/locales/zh.json @@ -1,6 +1,7 @@ { "nav": { "home": "首页", + "explore": "探索", "search": "搜索技能", "dashboard": "控制台", "login": "登录" From 39fc20f12497c73658dff00b3cca018aa81838ec Mon Sep 17 00:00:00 2001 From: wowo-zZ Date: Sat, 14 Mar 2026 15:12:32 +0800 Subject: [PATCH 2/4] feat(i18n): add English translation for explore nav link --- web/src/i18n/locales/en.json | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index c788fbb8..4484d92b 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -1,6 +1,7 @@ { "nav": { "home": "Home", + "explore": "Explore Skills", "search": "Search Skills", "dashboard": "Dashboard", "login": "Login" From 611253fe2165dc52c864b21867730e66304b0939 Mon Sep 17 00:00:00 2001 From: wowo-zZ Date: Sat, 14 Mar 2026 15:17:36 +0800 Subject: [PATCH 3/4] feat(nav): add explore link to navbar with responsive design - Group Logo and main nav links on the left - Add explore link pointing to /search - Use hidden md:flex for mobile responsiveness - Maintain consistent spacing (gap-8 for Logo-nav, gap-6 for nav links) --- web/src/app/layout.tsx | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/web/src/app/layout.tsx b/web/src/app/layout.tsx index 69d0472e..44d6f23c 100644 --- a/web/src/app/layout.tsx +++ b/web/src/app/layout.tsx @@ -25,15 +25,31 @@ export function Layout() { {/* Glass header */}
- -
- S -
- - SkillHub - - + {/* 左侧: Logo + 主导航 */} +
+ +
+ S +
+ + SkillHub + + + {/* 主导航链接 */} + +
+ + {/* 右侧菜单 */}