simpleshop_theme/lib
jamey e64bf40a71 add setup foundations: site gate, registration lockdown, coming soon page
- Settings.site_live?/0 and set_site_live/1 for shop visibility control
- Accounts.has_admin?/0 to detect single-tenant admin existence
- Registration lockdown: /users/register redirects when admin exists
- Setup.setup_status/0 aggregates provider, product, and stripe checks
- Coming soon page at /coming-soon with themed styling
- ThemeHook :require_site_live gate on all public shop routes
  - Site live → everyone through
  - Authenticated → admin preview through
  - No admin → fresh install demo through
  - Otherwise → redirect to coming soon
- Go live / take offline toggle on /admin/settings
- 648 tests, 0 failures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 22:58:58 +00:00
..
mix/tasks add mix lighthouse task for PageSpeed auditing 2026-02-08 18:18:01 +00:00
simpleshop_theme add setup foundations: site gate, registration lockdown, coming soon page 2026-02-11 22:58:58 +00:00
simpleshop_theme_web add setup foundations: site gate, registration lockdown, coming soon page 2026-02-11 22:58:58 +00:00
simpleshop_theme_web.ex refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00
simpleshop_theme.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00