simpleshop_theme/lib
Jamey Greenwood 2c3d8f5647 perf: use responsive images for theme preview mockups
Update theme preview to use optimized responsive images with modern
format support (AVIF/WebP with JPEG fallback).

- Change mockup URLs from .jpg to base paths for srcset generation
- Add source_width to preview products for proper variant selection
- Add responsive_image component with <picture> element
- Update image_text_section to use optimized 800px WebP variant

This ensures the theme preview loads optimal image formats and sizes,
matching the production responsive image behavior.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:33:38 +00:00
..
mix/tasks feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
simpleshop_theme perf: use responsive images for theme preview mockups 2026-01-25 00:33:38 +00:00
simpleshop_theme_web perf: use responsive images for theme preview mockups 2026-01-25 00:33:38 +00:00
simpleshop_theme_web.ex feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
simpleshop_theme.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00