refactor: replace hardcoded hex colors with theme tokens, move data/ to root
- Add --color-green-mid token (#4a7a55) to @theme for dimmer stat values
- Replace all text-[#hex]/bg-[#hex] arbitrary values with named tokens:
text-green, text-green-light, text-green-sec, text-green-muted,
text-green-dark, text-green-mid, text-text, bg-card, bg-bg, border-border
- Replace rgba(34,197,94,X) inline styles with bg-green/X opacity modifiers
- Convert single-prop style={{ borderColor/background }} to className
- Fix SVG stroke="#dff5e8" → stroke="currentColor"
- Use CSS variables in globals.css base styles (background-color, color)
- Move app/data/wikipedia/ → data/ (project root, not inside Next.js app dir)
- Update Dockerfile, seed.ts, scrape-wikipedia.ts paths accordingly
- Remove unused app/data/world_cup.csv
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"name": "Group 1",
|
||||
"teams": [
|
||||
"Italy",
|
||||
"France",
|
||||
"Argentina",
|
||||
"Hungary"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group 2",
|
||||
"teams": [
|
||||
"West Germany",
|
||||
"Poland",
|
||||
"Tunisia",
|
||||
"Mexico"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group 3",
|
||||
"teams": [
|
||||
"Austria",
|
||||
"Spain",
|
||||
"Brazil",
|
||||
"Sweden"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group 4",
|
||||
"teams": [
|
||||
"Peru",
|
||||
"Scotland",
|
||||
"Netherlands",
|
||||
"Iran"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group A",
|
||||
"teams": [
|
||||
"Austria",
|
||||
"Netherlands",
|
||||
"Italy",
|
||||
"West Germany"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group B",
|
||||
"teams": [
|
||||
"Brazil",
|
||||
"Peru",
|
||||
"Argentina",
|
||||
"Poland"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"host": "Argentina",
|
||||
"teams_count": 16,
|
||||
"winner": "Argentina",
|
||||
"runner_up": "Netherlands",
|
||||
"third_place": "Brazil",
|
||||
"fourth_place": "Italy"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"stadiums": [
|
||||
{
|
||||
"name": "River Plate Stadium",
|
||||
"city": "Buenos Aires"
|
||||
},
|
||||
{
|
||||
"name": "Estadio José María Minella",
|
||||
"city": "Mar del Plata"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Monumental",
|
||||
"city": "Buenos Aires"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Gigante de Arroyito",
|
||||
"city": "Rosario"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Chateau Carreras",
|
||||
"city": "Córdoba"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Olímpico Chateau Carreras",
|
||||
"city": "Córdoba"
|
||||
},
|
||||
{
|
||||
"name": "Estadio José Amalfitani",
|
||||
"city": "Buenos Aires"
|
||||
},
|
||||
{
|
||||
"name": "Estadio José Maria Minella",
|
||||
"city": "Mar del Plata"
|
||||
},
|
||||
{
|
||||
"name": "Chateau Carreras",
|
||||
"city": "Córdoba"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Ciudad de Mendoza",
|
||||
"city": "Mendoza"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Malvinas Argentinas",
|
||||
"city": "Mendoza"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user