simpleshop_theme/test/simpleshop_theme_web/controllers
Jamey Greenwood 5faa6c4c09 perf: self-host fonts and add /admin route
Self-hosted fonts:
- Download all 10 typefaces (35 font files, 728KB) from Google Fonts
- Create @font-face declarations in assets/css/fonts.css
- Remove Google Fonts external dependency from layouts
- Privacy improvement (no Google tracking)
- Performance improvement (no DNS lookup to fonts.googleapis.com)
- GDPR compliant (no third-party requests)

Admin access:
- Add /admin route that redirects to /admin/theme (requires auth)
- Remove Admin link from footer (too visible for visitors)
- Shop owners can bookmark or type /admin directly

Layout improvements:
- Create shop_root.html.heex as minimal root for shop pages
- Shop pages no longer show admin nav bar

Other:
- Update .gitignore to exclude digested static files
- Add PageSpeed 100% task to ROADMAP.md
- Fix test to check /users/settings instead of shop homepage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 22:54:07 +00:00
..
error_html_test.exs feat: add Cart page and themed error pages 2026-01-17 22:29:45 +00:00
error_json_test.exs mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
image_controller_test.exs feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
page_controller_test.exs feat: add shop storefront with optimized theme CSS 2026-01-17 16:19:35 +00:00
user_session_controller_test.exs perf: self-host fonts and add /admin route 2026-01-20 22:54:07 +00:00