simpleshop_theme/.gitignore
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

61 lines
1.4 KiB
Plaintext

# The directory Mix will write compiled artifacts to.
/_build/
# If you run "mix test --cover", coverage assets end up here.
/cover/
# The directory Mix downloads your dependencies sources to.
/deps/
# Where 3rd-party dependencies like ExDoc output generated docs.
/doc/
# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch
# If the VM crashes, it generates a dump, let's ignore it too.
erl_crash.dump
# Also ignore archive artifacts (built via "mix archive.build").
*.ez
# Temporary files, for example, from tests.
/tmp/
# Ignore package tarball (built via "mix hex.build").
simpleshop_theme-*.tar
# Ignore assets that are produced by build tools.
/priv/static/assets/
# Ignore digested assets cache.
/priv/static/cache_manifest.json
# Ignore digested versions of static files (with hash in filename)
# Keep source files, ignore build outputs
/priv/static/*-*.css
/priv/static/*-*.css.gz
/priv/static/*-*.js
/priv/static/*-*.js.gz
/priv/static/*-*.ico
/priv/static/*-*.txt
/priv/static/*-*.txt.gz
/priv/static/*-*.html
/priv/static/*-*.html.gz
/priv/static/*.gz
# Digested fonts have 32-char hash before extension
/priv/static/fonts/*-????????????????????????????????.woff2
/priv/static/mockups/*-*.jpg
/priv/static/images/*-*.svg
/priv/static/images/*-*.svg.gz
/priv/static/images/*.gz
# In case you use Node.js/npm, you want to ignore these.
npm-debug.log
/assets/node_modules/
# Database files
*.db
*.db-*