mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
fix(nav): control order is language -> mode -> theme in bar and sheet (supersedes Q12/Q15)
This commit is contained in:
1 parent
d7ef4a28e4
commit
6cd665960a
7 files changed
+56
-51
No files matched your search
@@ -81,6 +81,15 @@ export function Navigation() {
|
||||
</ul>
|
||||
|
||||
<div className="nav-actions">
|
||||
<button
|
||||
className="nav-control lang-toggle"
|
||||
onClick={toggleLang}
|
||||
aria-label="Switch language"
|
||||
title={`Switch to ${lang === 'en' ? 'Tiếng Việt' : 'English'}`}
|
||||
>
|
||||
{lang === 'en' ? 'VI' : 'EN'}
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="nav-control theme-toggle"
|
||||
onClick={cycleTheme}
|
||||
@@ -99,15 +108,6 @@ export function Navigation() {
|
||||
)}
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="nav-control lang-toggle"
|
||||
onClick={toggleLang}
|
||||
aria-label="Switch language"
|
||||
title={`Switch to ${lang === 'en' ? 'Tiếng Việt' : 'English'}`}
|
||||
>
|
||||
{lang === 'en' ? 'VI' : 'EN'}
|
||||
</button>
|
||||
|
||||
<ThemePaletteMenu />
|
||||
|
||||
<button
|
||||
|
||||
Reference in new issue
Block a user