simpleshop_theme/lib
Jamey Greenwood f29772010e fix: resolve nested HTML documents causing LiveView binding errors
The shop.html.heex and shop_root.html.heex were both full HTML documents.
When nested (root layout + live layout), this created invalid HTML with
duplicate <!DOCTYPE>, <html>, <head>, and <body> tags.

This caused:
- "Cannot bind multiple views to the same DOM element" console errors
- Failed Lighthouse audits
- Potential rendering issues

Fix:
- shop_root.html.heex: Now contains the full HTML document with theme
  settings, CSS variables, and data attributes
- shop.html.heex: Now just passes through @inner_content

Results:
- Console errors: Gone
- Best Practices: 96 → 100
- Total Blocking Time: 140ms → 30ms
- HTML validation: Passes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:20:39 +00:00
..
mix/tasks feat: add automated Printify mockup generation & POD sample content 2026-01-14 23:35:18 +00:00
simpleshop_theme feat: add /collections/:slug routes with category filtering 2026-01-19 23:26:41 +00:00
simpleshop_theme_web fix: resolve nested HTML documents causing LiveView binding errors 2026-01-21 20:20:39 +00:00
simpleshop_theme_web.ex refactor: extract announcement_bar to shared ShopComponents module 2026-01-17 13:15:46 +00:00
simpleshop_theme.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00