simpleshop_theme/lib
Jamey Greenwood 9746bf183c refactor: extract product_card to shared ShopComponents module
Create a reusable product card component with four variants:
- :default (collection page) - full details with category
- :featured (home page) - hover animation, badges
- :compact (pdp related) - smaller, no badges/delivery
- :minimal (error 404) - smallest, not clickable

Accessibility improvements:
- Use <a> for all clickable cards (keyboard nav, screen readers)
- Use <div> only for non-clickable decorative cards

Unified badge logic with priority: Sold out > New > Sale

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 14:38:16 +00:00
..
mix/tasks feat: add automated Printify mockup generation & POD sample content 2026-01-14 23:35:18 +00:00
simpleshop_theme fix: resolve compilation warnings and update tests to match implementation 2026-01-15 22:36:15 +00:00
simpleshop_theme_web refactor: extract product_card to shared ShopComponents module 2026-01-17 14:38:16 +00:00
simpleshop_theme_web.ex refactor: extract announcement_bar to shared ShopComponents module 2026-01-17 13:15:46 +00:00
simpleshop_theme.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00