improve(dx): fix OG image font download failure #1

Open
marc wants to merge 1 commit from agent-improve/dx-2026-05-23-puzzle-trainer into main
Owner

Probleme

Pendant le build, Next.js (satori) tente de telecharger une police dynamique pour les caracteres Unicode speciaux (crown, sun, infinity, grid) utilises dans opengraph-image.tsx. Le telechargement echoue :

Cela peut produire une OG image vide lors du partage social.

Solution

Remplacement des symboles Unicode par les initiales colorees de chaque jeu (Q, T, Z, S, P) avec la couleur accent du jeu. ASCII pur, aucun chargement de police externe.

Avant : symboles Unicode avec fond #111827
Apres : initiales (Q/T/Z/S/P) avec fonds colores par jeu

Impact

  • Build warning elimine : 0 avertissements police dans le build
  • OG image fiable : generation garantie sans telechargement externe
  • Design ameliore : couleurs accent identifient visuellement chaque jeu
## Probleme Pendant le build, Next.js (satori) tente de telecharger une police dynamique pour les caracteres Unicode speciaux (crown, sun, infinity, grid) utilises dans opengraph-image.tsx. Le telechargement echoue : Cela peut produire une OG image vide lors du partage social. ## Solution Remplacement des symboles Unicode par les initiales colorees de chaque jeu (Q, T, Z, S, P) avec la couleur accent du jeu. ASCII pur, aucun chargement de police externe. Avant : symboles Unicode avec fond #111827 Apres : initiales (Q/T/Z/S/P) avec fonds colores par jeu ## Impact - Build warning elimine : 0 avertissements police dans le build - OG image fiable : generation garantie sans telechargement externe - Design ameliore : couleurs accent identifient visuellement chaque jeu
marc added 1 commit 2026-05-23 01:07:49 +00:00
Replace Unicode special chars (crown, sun, infinity, grid) with
colored initials using each game accent color. Eliminates the
"Failed to load dynamic font" build warning from satori/next-og.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent-improve/dx-2026-05-23-puzzle-trainer:agent-improve/dx-2026-05-23-puzzle-trainer
git checkout agent-improve/dx-2026-05-23-puzzle-trainer

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff agent-improve/dx-2026-05-23-puzzle-trainer
git checkout agent-improve/dx-2026-05-23-puzzle-trainer
git rebase main
git checkout main
git merge --ff-only agent-improve/dx-2026-05-23-puzzle-trainer
git checkout agent-improve/dx-2026-05-23-puzzle-trainer
git rebase main
git checkout main
git merge --no-ff agent-improve/dx-2026-05-23-puzzle-trainer
git checkout main
git merge --squash agent-improve/dx-2026-05-23-puzzle-trainer
git checkout main
git merge --ff-only agent-improve/dx-2026-05-23-puzzle-trainer
git checkout main
git merge agent-improve/dx-2026-05-23-puzzle-trainer
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: marc/puzzle-trainer#1
No description provided.