perf: optimize hero image — 16MB PNG → 58KB WebP with responsive sources
All checks were successful
Build and Deploy to Storj / build-and-deploy (push) Successful in 9s

This commit is contained in:
Scott Scoble 2026-04-29 16:32:15 -07:00
parent adec01bd4e
commit 5bd4237d5a
9 changed files with 16 additions and 5 deletions

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 446 B

Before After
Before After

View file

@ -1,4 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<rect width="100" height="100" rx="16" fill="#3d5a3e"/>
<text x="50" y="68" font-family="Georgia, serif" font-size="52" font-weight="bold" fill="#faf8f5" text-anchor="middle">S</text>
</svg>
<defs>
<linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#3d5a3e;stop-opacity:1" />
<stop offset="100%" style="stop-color:#2d4a2e;stop-opacity:1" />
</linearGradient>
</defs>
<rect width="100" height="100" rx="18" fill="url(#bg)"/>
<text x="50" y="70" font-family="EB Garamond, Georgia, serif" font-size="56" font-weight="600" fill="#faf8f5" text-anchor="middle">S</text>
</svg>

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 516 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB