berrypod/lib/berrypod_web/components/shop_components
jamey 12d87998ee
All checks were successful
deploy / deploy (push) Successful in 1m18s
make entire product card image area clickable
The stretched-link::after overlay (z-index: 0) was blocked by
product-card-image-wrap (z-index: 1), so only the title text was
actually clickable. Wrapping the image area in a <.link> component
directly fixes this — taps/clicks bubble up to the link naturally,
and touch-scroll on the image carousel still works on mobile.

Also corrects the mode check: ThemeHook sets mode: :shop on shop pages,
not :live, so the condition is now mode != :preview (consistent with
how the title link already worked).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 15:22:43 +00:00
..
base.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
cart.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
content.ex fix privacy policy niggles and add last-updated date to legal pages 2026-02-24 14:33:01 +00:00
layout.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
product.ex make entire product card image area clickable 2026-02-24 15:22:43 +00:00