HifiPlanet-Website/hifi
Maaxxs ed0d18b9c3 Fix navbar no longer sticking to the top of the viewport
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>
2026-09-10 03:06:22 +02:00
..
api Add generic per-field text styling (font/size/color), starting with home sections 2026-09-10 02:59:06 +02:00
assets Fix navbar no longer sticking to the top of the viewport 2026-09-10 03:06:22 +02:00
.htaccess Fix data export/import: PHP's default upload limits rejected real exports 2026-07-21 00:54:34 +02:00
favicon.png Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
index.html Fix navbar no longer sticking to the top of the viewport 2026-09-10 03:06:22 +02:00
robots.txt Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00