feat: local country flags replacing team crests
Build & Deploy Tippspiel / build (push) Successful in 50s

48 country flags downloaded from flagcdn.com (320px PNG, ~55KB total)
stored in frontend/public/flags/{iso-code}.png.

New utility getFlagUrl() maps team names to local flag files.
Applied to MatchCard, DashboardPage, and TipModal.
Falls back to original crest URL if no mapping exists (e.g. TBD).

No external API calls at runtime — all flags served statically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ronny
2026-04-12 16:31:24 +02:00
parent 2dabd1f958
commit 7dc66e50bf
52 changed files with 80 additions and 10 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 989 B