From 41266742b4854fda325e232ff5981dfae26e0cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=84=AD=E6=B2=9B=E8=BB=92?= Date: Wed, 17 Sep 2025 03:56:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=8C=E5=96=84=E6=89=8B=E6=A9=9F?= =?UTF-8?q?=E7=89=88=E5=B0=8E=E8=88=AA=E8=A8=AD=E8=A8=88=EF=BC=8C=E9=9A=B1?= =?UTF-8?q?=E8=97=8F=E9=A0=82=E9=83=A8=E7=94=A8=E6=88=B6=E8=B3=87=E8=A8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 📱 手機版 UI 最佳化: - 頂部只保留漢堡選單和 Logo(極簡設計) - 用戶資訊、通知按鈕移到桌面版專用(hidden md:flex) - 手機版的用戶資訊完全在下拉選單中 🎯 現在的手機版佈局: 頂部:[🍔] DramaLing 下拉:導航 + 用戶資訊 + 登出 ✅ 符合移動端設計最佳實踐: - 頂部導航條簡潔明瞭 - 避免小螢幕上的擁擠感 - 用戶資訊放在邏輯位置(選單底部) 🚀 DramaLing 現在有真正專業的響應式設計! 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend/components/Navigation.tsx | 48 +++++++++++++++++++----------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/frontend/components/Navigation.tsx b/frontend/components/Navigation.tsx index 183e3cc..1204008 100644 --- a/frontend/components/Navigation.tsx +++ b/frontend/components/Navigation.tsx @@ -61,27 +61,39 @@ export function Navigation({ showExitLearning = false, onExitLearning }: Navigat -
- {/* 通知按鈕 */} - - - {/* 用戶資訊 */} -
-
- {user?.username?.[0]?.toUpperCase() || 'U'} -
- {user?.displayName || user?.username} +
+ {/* 學習模式的結束學習按鈕 */} + {showExitLearning ? ( -
+ ) : ( + <> + {/* 通知按鈕 */} + + + {/* 用戶資訊 */} +
+
+ {user?.username?.[0]?.toUpperCase() || 'U'} +
+ {user?.displayName || user?.username} + +
+ + )}