fix: 完善手機版導航設計,隱藏頂部用戶資訊

📱 手機版 UI 最佳化:
- 頂部只保留漢堡選單和 Logo(極簡設計)
- 用戶資訊、通知按鈕移到桌面版專用(hidden md:flex)
- 手機版的用戶資訊完全在下拉選單中

🎯 現在的手機版佈局:
頂部:[🍔] DramaLing
下拉:導航 + 用戶資訊 + 登出

 符合移動端設計最佳實踐:
- 頂部導航條簡潔明瞭
- 避免小螢幕上的擁擠感
- 用戶資訊放在邏輯位置(選單底部)

🚀 DramaLing 現在有真正專業的響應式設計!

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
鄭沛軒 2025-09-17 03:56:57 +08:00
parent c4010c362c
commit 41266742b4
1 changed files with 30 additions and 18 deletions

View File

@ -61,7 +61,17 @@ export function Navigation({ showExitLearning = false, onExitLearning }: Navigat
</div>
</div>
<div className="flex items-center space-x-4">
<div className="hidden md:flex items-center space-x-4">
{/* 學習模式的結束學習按鈕 */}
{showExitLearning ? (
<button
onClick={onExitLearning}
className="text-gray-600 hover:text-gray-900"
>
×
</button>
) : (
<>
{/* 通知按鈕 */}
<button className="p-2 text-gray-600 hover:text-gray-900">
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@ -82,6 +92,8 @@ export function Navigation({ showExitLearning = false, onExitLearning }: Navigat
</button>
</div>
</>
)}
</div>
</div>