Skip to content

Unify header and footer language menu styles - #3

Merged
mayneyao merged 1 commit into
mainfrom
codex/consistent-language-menu
Oct 8, 2026
Merged

mayneyao merged 1 commit into
mainfrom
codex/consistent-language-menu

Conversation

@mayneyao

@mayneyao mayneyao commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

The header and footer language menus had different icon sizes, fonts, spacing, menu surfaces and active states. Use one shared LanguageMenu component for both locations, including the current-language label and consistent focus/hover styles. Keep the header menu opening down and the footer menu opening up.

Scope header navigation link rules to direct children so they cannot override language menu options. Preserve the current page when changing language.

Validation: catalog tests, Astro check, production build, and browser comparison of computed typography, colors, spacing and link destinations in both menu instances.

@mayneyao
mayneyao merged commit f84403b into main Oct 8, 2026
1 check passed
@mayneyao
mayneyao deleted the codex/consistent-language-menu branch October 8, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant