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>
This commit is contained in:
Cal Corum 2026-03-13 01:03:31 -05:00
parent a66ef9bd7c
commit 81fcc4606f
2 changed files with 25 additions and 3 deletions

View File

@ -2,9 +2,6 @@
<html lang="en"> <html lang="en">
<head> <head>
{% include 'style.html' %} {% include 'style.html' %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&family=Source+Sans+3:wght@400;700&display=swap" rel="stylesheet">
</head> </head>
<body> <body>
<div id="fullCard" style="width: 1200px; height: 600px;"> <div id="fullCard" style="width: 1200px; height: 600px;">

File diff suppressed because one or more lines are too long