No description
Wrapping the header in an extra <div className="dark"> (to force the always-dark navbar look from the last change) broke its sticky positioning - it stayed pinned in place instead of scrolling normally and sticking to the top edge. Removes that wrapper entirely and instead hardcodes the header's own "dark" Tailwind values directly (no dark: prefix, no conditional on the real theme) for the header background/border, hamburger button, admin icon, and the navbar's own language dropdown - all previously toggled via a dark: variant that depended on an ancestor carrying the "dark" class. The logo now always renders the dark-mode wordmark image directly rather than swapping between two images via dark:hidden/dark:block. ThemeToggle.jsx gained an opt-in forceDark prop for this one case, so its other usages (admin dashboard) keep following the real theme as before - only the navbar's copy of the button is pinned to look dark, its click behavior (toggling the site's actual theme) is unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| hifi | ||
| hifi-src | ||
| .gitignore | ||
| DEPLOY.md | ||