HifiPlanet-Website/hifi
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 Add a toggleable page loading screen that waits for images 2026-09-11 11:47:53 +02:00
assets Fix loader spinner position, shrink the 7MB contact page backgrounds by 98% 2026-09-11 11:57:57 +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 loader spinner position, shrink the 7MB contact page backgrounds by 98% 2026-09-11 11:57:57 +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