Files
lokiloto/public/flags/ca-qc.svg
T
Nazim KriandClaude Opus 5.5 e97b2e54ad Country selector in the header, auto-detected and remembered
Replaces the left sidebar with a header dropdown (flag + name), like
1xbet's region picker. The shown country resolves as: saved choice
(cookie, then the member's profile so it follows them across devices),
else Cloudflare's CF-IPCountry (Canada maps to Québec), else Québec.
favoriteCountry becomes nullable so geo-detection isn't overridden by
a default nobody chose. Emoji flags render as letters on Windows, so
flags are now SVGs in /public/flags; country names are in French.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 09:58:33 -04:00

2 lines
610 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 20"><rect width="30" height="20" fill="#003DA5"/><rect x="13" width="4" height="20" fill="#fff"/><rect y="8" width="30" height="4" fill="#fff"/><g id="f" fill="#fff"><path d="M6.5 2.2c.6.7.9 1.5.9 2.3 0 .8-.4 1.4-.9 1.9-.5-.5-.9-1.1-.9-1.9 0-.8.3-1.6.9-2.3z"/><path d="M4.6 4.4c.9 0 1.5.8 1.5 1.7v.4H4.9c-.6 0-1-.4-1-1 0-.6.3-1.1.7-1.1zM8.4 4.4c-.9 0-1.5.8-1.5 1.7v.4h1.2c.6 0 1-.4 1-1 0-.6-.3-1.1-.7-1.1z"/><rect x="4.4" y="6.4" width="4.2" height=".7" rx=".3"/></g><use href="#f" x="17"/><use href="#f" y="11.4"/><use href="#f" x="17" y="11.4"/></svg>