Initial commit: football competition standings viewer

Vite + React app using football-data.org API to display standings
and match details for 12 competitions. Supports competition switching,
team match history modal, and Vite proxy to handle CORS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 07:33:50 +01:00
commit d8fba41ea5
16 changed files with 967 additions and 0 deletions

16
src/competitions.js Normal file
View File

@@ -0,0 +1,16 @@
const COMPETITIONS = [
{ code: 'PL', name: 'Premier League', country: 'England' },
{ code: 'CL', name: 'Champions League', country: 'Europe' },
{ code: 'BL1', name: 'Bundesliga', country: 'Germany' },
{ code: 'SA', name: 'Serie A', country: 'Italy' },
{ code: 'PD', name: 'Primera División', country: 'Spain' },
{ code: 'FL1', name: 'Ligue 1', country: 'France' },
{ code: 'DED', name: 'Eredivisie', country: 'Netherlands' },
{ code: 'PPL', name: 'Primeira Liga', country: 'Portugal' },
{ code: 'ELC', name: 'Championship', country: 'England' },
{ code: 'BSA', name: 'Brasileirão Série A', country: 'Brazil' },
{ code: 'EC', name: 'European Championship', country: 'Europe' },
{ code: 'WC', name: 'FIFA World Cup', country: 'World' },
]
export default COMPETITIONS