simpleshop_theme/lib/simpleshop_theme_web/components
Jamey Greenwood c25953780a refactor: consolidate shop and preview page templates
- Create shared PageTemplates module in components/page_templates/
- Shop LiveViews now use explicit render/1 calling shared templates
- Theme preview now uses preview_page/1 component calling shared templates
- Delete duplicate preview_pages directory and shop_live/*.html.heex
- Single source of truth: mode param controls shop vs preview behavior

Templates: home, about, contact, collection, pdp, cart, error

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:17:59 +00:00
..
layouts refactor: consolidate CSS to use .themed class with native nesting 2026-01-17 21:43:26 +00:00
page_templates refactor: consolidate shop and preview page templates 2026-01-17 22:17:59 +00:00
core_components.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
layouts.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
page_templates.ex refactor: consolidate shop and preview page templates 2026-01-17 22:17:59 +00:00
shop_components.ex refactor: extract remaining PDP components to ShopComponents 2026-01-17 15:37:58 +00:00