Admin access
Enter the admin password to access draw controls.
Admin draw
Run the three visible name shuffles, then reveal each name with two hidden-shuffled teams.
Official draw controls
The public sees names shuffled three times. Teams are shuffled behind the scenes and are only shown when each player is drawn.
Publishing the official result
This build already contains a published pre-determined shuffle and draw. Admin can still test/reset locally, but the public draw page uses the fixed JSON files in the data folder.
Live data setup
Add your API key in Netlify under Site configuration → Environment variables as APISPORTS_KEY. The live endpoint is /.netlify/functions/worldcup-data.
Optional variables: API_FOOTBALL_LEAGUE_ID=1, API_FOOTBALL_SEASON=2026, WORLDCUP_CACHE_MS=600000.
Important
For a real launch, this page should not stay public. Either remove it after the draw or protect it behind Netlify Identity, a password gate, or a serverless admin flow.