dark:border-neutral-800 set all four border sides in dark mode, which
also silently overwrote the top edge's border-t-brand-500 color that
creates the spin illusion - with all four sides the same color, the ring
still rotated but had nothing visible to show for it. Added an explicit
dark:border-t-brand-500 so the top edge keeps its accent color in both
themes; verified in the built CSS that its rule now comes after (and so
wins over) the general dark:border-neutral-800 one.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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>