simpleshop_theme/lib/simpleshop_theme_web
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
..
components fix: resolve nested HTML documents causing LiveView binding errors 2026-01-21 20:20:39 +00:00
controllers perf: self-host fonts and add /admin route 2026-01-20 22:54:07 +00:00
live feat: add mobile bottom navigation bar 2026-01-20 22:03:42 +00:00
plugs feat: add shop storefront with optimized theme CSS 2026-01-17 16:19:35 +00:00
endpoint.ex add Tidewave 2025-12-30 12:27:41 +00:00
gettext.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
router.ex perf: self-host fonts and add /admin route 2026-01-20 22:54:07 +00:00
telemetry.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
user_auth.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00