berrypod/lib/simpleshop_theme/theme
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
..
css_cache.ex feat: add CSS generation system with custom properties and ETS cache 2025-12-30 21:41:25 +00:00
css_generator.ex fix: resolve compilation warnings and update tests to match implementation 2026-01-15 22:36:15 +00:00
presets.ex feat: implement professional typography system with curated font pairings 2026-01-15 01:16:21 +00:00
preview_data.ex refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +00:00