17b9267 Show on GitHub

  • Author: Alisa
  • Date: 1/15/2026, 10:54:34 PM
  • Message: perf(hero): optimize hero background images with avif/webp - convert hero backgrounds to AVIF/WebP in multiple sizes (960/1600/1920) - use <picture> with srcset/sizes for responsive loading - lazy-load non-active slides to reduce initial network requests refs: #239 #237
  • Stats: 145 total changes (+76 / -69)

Changed Files

  • src/lib/components/organisms/hero/Hero.svelte — +72 / -66 (138 changes)
  • src/routes/+layout.svelte — +4 / -3 (7 changes)
  • static/images/hero/background-1-1600.avif — +0 / -0 (0 changes)
  • static/images/hero/background-1-1600.webp — +0 / -0 (0 changes)
  • static/images/hero/background-1-1920.avif — +0 / -0 (0 changes)
  • static/images/hero/background-1-1920.webp — +0 / -0 (0 changes)
  • static/images/hero/background-1-960.avif — +0 / -0 (0 changes)
  • static/images/hero/background-1-960.webp — +0 / -0 (0 changes)
  • static/images/hero/background-1.png — +0 / -0 (0 changes)
  • static/images/hero/background-2-1600.avif — +0 / -0 (0 changes)
  • static/images/hero/background-2-1600.webp — +0 / -0 (0 changes)
  • static/images/hero/background-2-1920.avif — +0 / -0 (0 changes)
  • static/images/hero/background-2-1920.webp — +0 / -0 (0 changes)
  • static/images/hero/background-2-960.avif — +0 / -0 (0 changes)
  • static/images/hero/background-2-960.webp — +0 / -0 (0 changes)
  • static/images/hero/background-2.png — +0 / -0 (0 changes)
  • static/images/hero/background-3-1600.avif — +0 / -0 (0 changes)
  • static/images/hero/background-3-1600.webp — +0 / -0 (0 changes)
  • static/images/hero/background-3-1920.avif — +0 / -0 (0 changes)
  • static/images/hero/background-3-1920.webp — +0 / -0 (0 changes)
  • static/images/hero/background-3-960.avif — +0 / -0 (0 changes)
  • static/images/hero/background-3-960.webp — +0 / -0 (0 changes)
  • static/images/hero/background-3.png — +0 / -0 (0 changes)