simpleshop_theme/lib/simpleshop_theme_web
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
..
components refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +00:00
controllers feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
live refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +00:00
endpoint.ex add Tidewave 2025-12-30 12:27:41 +00:00
gettext.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
router.ex feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
telemetry.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
user_auth.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00