simpleshop_theme/lib
Jamey Greenwood 97981a9884 refactor: extract remaining PDP components to ShopComponents
Add PDP-specific components:
- product_gallery with lightbox
- product_info (title, price, sale badge)
- variant_selector
- quantity_selector
- add_to_cart_button
- product_details accordion
- star_rating
- trust_badges
- reviews_section with review_card

Add page layout components:
- page_title for consistent h1 styling
- cart_layout for cart page structure
- rich_text for structured content blocks
- accordion_item for generic collapsible sections

Update preview pages to be fully component-based:
- PDP: 415 → 48 lines (88% reduction)
- Cart: 47 → 23 lines
- About: 65 → 27 lines

Add preview data functions:
- reviews() for product reviews
- about_content() for rich text blocks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 15:37:58 +00:00
..
mix/tasks feat: add automated Printify mockup generation & POD sample content 2026-01-14 23:35:18 +00:00
simpleshop_theme refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +00:00
simpleshop_theme_web refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +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