HifiPlanet-Website/hifi-src/src
Maaxxs d9faa90bc7 Fix loader spinner position, shrink the 7MB contact page backgrounds by 98%
Spinner was absolutely positioned within the (very tall, since hidden
content still occupies layout space) page container, so on a long page
like the homepage it centered itself far down the page instead of in the
visible viewport - had to scroll to see it. Switched to fixed positioning
so it always centers in the actual visible screen regardless of how long
the underlying page is.

Separately, found and fixed the single biggest asset weighing down every
load of the contact page: hifi-src/src/assets/contact/bg-light.png and
bg-dark.png were 3.1MB and 4.0MB respectively (2560x1440, stored as
lossless PNG despite being photographic/gradient content - PNG compresses
that kind of content very poorly compared to a lossy format). Converted
both to WEBP at quality 78 and updated the two background-image
references in index.css - 3.13MB -> 0.02MB and 4.01MB -> 0.08MB, over
98% smaller, visually equivalent for a blurred background image. These
aren't admin-uploaded content (they're bundled build assets), so they
were untouched by the automatic upload compression added earlier.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 11:57:57 +02:00
..
api Fix API responses silently becoming null on the live server 2026-07-05 16:16:11 +02:00
assets Fix loader spinner position, shrink the 7MB contact page backgrounds by 98% 2026-09-11 11:57:57 +02:00
components Fix loader spinner position, shrink the 7MB contact page backgrounds by 98% 2026-09-11 11:57:57 +02:00
constants Rename the "Elite R" package tier to "Elite" 2026-07-20 07:03:27 +02:00
context Add a toggleable page loading screen that waits for images 2026-09-11 11:47:53 +02:00
hooks Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
i18n Add login link to maintenance page, lock navbar to dark theme, link admin logo home 2026-09-10 00:25:09 +02:00
pages Add a toggleable page loading screen that waits for images 2026-09-11 11:47:53 +02:00
referenz Use the handoff's baked background images for the contact section 2026-07-20 07:24:59 +02:00
utils Add generic per-field text styling (font/size/color), starting with home sections 2026-09-10 02:59:06 +02:00
App.jsx Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
index.css Fix loader spinner position, shrink the 7MB contact page backgrounds by 98% 2026-09-11 11:57:57 +02:00
main.jsx Make base path configurable for root-domain deployment (IONOS) 2026-07-05 14:23:30 +02:00