NutsNews Settings Menu Update
Section titled “NutsNews Settings Menu Update”This update reorganizes the footer Settings panel into a two-level menu.
What changed
Section titled “What changed”- Settings now opens to a top-level menu.
- Top-level menu items are
ThemeandLanguage. - Theme options moved into a dedicated Theme level.
- Language options moved into a dedicated Language level.
- Language badges now show country flags instead of text language codes.
- Supported languages now include a
flagfield so future languages can be added cleanly.
Files changed
Section titled “Files changed”web/app/components/ThemeSwitcher.tsxweb/app/globals.cssweb/lib/languages.ts
Validation
Section titled “Validation”Run from web:
npm run lintnpx tsc --noEmitnpm run buildThe Settings UI should behave like this:
- Tap/click Settings.
- See a top-level menu with Theme and Language.
- Tap Theme to choose a theme.
- Tap back to return to Settings.
- Tap Language to choose English or Français.
- Confirm the circular language badge shows 🇺🇸 or 🇫🇷 instead of
ENorFR.
