berrypod/lib/simpleshop_theme_web/live/theme_live
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
..
preview_pages refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +00:00
index.ex feat: redesign contact page for POD sellers & add theme enhancements 2026-01-02 13:48:03 +00:00
index.html.heex feat: redesign contact page for POD sellers & add theme enhancements 2026-01-02 13:48:03 +00:00
preview_pages.ex refactor: extract cart_drawer to shared ShopComponents module 2026-01-17 14:11:23 +00:00