simpleshop_theme/lib/simpleshop_theme_web/live
Jamey Greenwood 5473337894 refactor: extract shop_header to shared ShopComponents module
Move the shop header component from ThemeLive.PreviewPages to the
shared ShopComponents module. The component now supports:
- mode attribute (:live for real stores, :preview for theme editor)
- cart_count attribute (default 0, preview pages pass 2)
- Navigation links render conditionally based on mode

Preview pages now call <.shop_header ... mode={:preview} cart_count={2} />

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 14:09:43 +00:00
..
theme_live refactor: extract shop_header to shared ShopComponents module 2026-01-17 14:09:43 +00:00
user_live mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00