Go to file
Jamey Greenwood 50941d278f refactor: extract cart_drawer to shared ShopComponents module
Move the cart drawer component from ThemeLive.PreviewPages to the
shared ShopComponents module. The component now supports:
- mode attribute (:live for real stores, :preview for theme editor)
- subtotal attribute (default nil shows "£0.00")
- cart_items attribute (default empty list)

In preview mode, "View basket" navigates via LiveView JS commands.
In live mode, it links directly to /cart.

Preview pages now explicitly pass demo values:
  <.cart_drawer cart_items={...} subtotal="£72.00" mode={:preview} />

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 14:11:23 +00:00
assets feat: implement professional typography system with curated font pairings 2026-01-15 01:16:21 +00:00
config mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
lib refactor: extract cart_drawer to shared ShopComponents module 2026-01-17 14:11:23 +00:00
priv feat: add automated Printify mockup generation & POD sample content 2026-01-14 23:35:18 +00:00
test fix: resolve compilation warnings and update tests to match implementation 2026-01-15 22:36:15 +00:00
.env fix: resolve compilation warnings and update tests to match implementation 2026-01-15 22:36:15 +00:00
.formatter.exs mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
.gitignore mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
AGENTS.md mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
mix.exs feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
mix.lock feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
PHASE_9_PLAN.md Bring in plan for phase 9 2026-01-01 16:37:55 +00:00
PHASE_9_PROGRESS.md Bring in plan for phase 9 2026-01-01 16:37:55 +00:00
PLAN.md Bring in plan for phase 9 2026-01-01 16:37:55 +00:00
README.md mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
RECENT_CHANGES.md fix: adjust content and demo to be UK-centric 2026-01-01 16:52:43 +00:00
SAMPLE_CONTENT_PLAN.md feat: add automated Printify mockup generation & POD sample content 2026-01-14 23:35:18 +00:00
simpleshop-typography.md fix: resolve compilation warnings and update tests to match implementation 2026-01-15 22:36:15 +00:00
simpleshop-ux-component-patterns.md fix: resolve compilation warnings and update tests to match implementation 2026-01-15 22:36:15 +00:00
SPEC.md Rename md files 2026-01-01 16:20:31 +00:00

SimpleshopTheme

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more