simpleshop_theme/lib/simpleshop_theme_web/components
jamey 1a69736734 add mobile swipe for product card images and fix dev asset caching
Product cards now use CSS scroll-snap on touch devices (mobile) for
swiping between images, with dot indicators and a JS hook for active
state. Desktop keeps the existing hover crossfade via @media (hover:
hover). Dots use size differentiation (WCAG 2.2 AA compliant) with
outline rings for contrast on any background.

Also fixes: no-image placeholder (SVG icon instead of broken img),
unnecessary wrapper div for single-image cards, and dev static asset
caching (was immutable for all envs, now only prod).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 12:24:52 +00:00
..
layouts refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00
page_templates refactor: extract shop_layout component to eliminate template boilerplate 2026-02-08 12:10:08 +00:00
shop_components add mobile swipe for product card images and fix dev asset caching 2026-02-10 12:24:52 +00:00
core_components.ex feat: add admin provider setup UI with improved product sync 2026-01-31 22:08:34 +00:00
layouts.ex refactor: add themed form components for consistent shop styling 2026-01-25 19:09:49 +00:00
page_templates.ex refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00
shop_components.ex refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00