No description
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> |
||
|---|---|---|
| hifi | ||
| hifi-src | ||
| .gitignore | ||
| DEPLOY.md | ||