Commit Graph

3 Commits

Author SHA1 Message Date
Cal Corum
2dec3cdaa1 fix: consolidate variable font @font-face to single block per family (#96)
Some checks failed
Build Docker Image / build (pull_request) Failing after 4m54s
Both WOFF2 fonts are variable fonts with wght axes. Open Sans covers
300-800 and Source Sans 3 covers 200-900, so a single @font-face per
family with a weight range is correct. Eliminates ~167 KB of duplicate
base64 data (5 identical-payload blocks → 2 range declarations).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 22:32:36 -05:00
Cal Corum
81fcc4606f feat: embed WOFF2 fonts as base64 in style.html, remove CDN links (#88)
Closes #88

- Add 5 @font-face declarations with base64-encoded WOFF2 data to style.html
  (Open Sans 300/400/700, Source Sans 3 400/700)
- Remove three Google Fonts CDN <link> tags from player_card.html
- Source WOFF2 files already present in storage/fonts/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 01:03:31 -05:00
Cal Corum
0437eab92a Add missing card templates for PostgreSQL deployment
- Recovered player_card.html and related templates from old server
- Required for card generation endpoints (/players/{id}/battingcard)
- Fixes TemplateNotFound errors in production
2026-02-01 19:18:04 -06:00