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 A",
|
||||
"teams": [
|
||||
"Bulgaria",
|
||||
"Italy",
|
||||
"Argentina",
|
||||
"South Korea"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group B",
|
||||
"teams": [
|
||||
"Belgium",
|
||||
"Mexico",
|
||||
"Paraguay",
|
||||
"Iraq"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group C",
|
||||
"teams": [
|
||||
"Canada",
|
||||
"France",
|
||||
"Soviet Union",
|
||||
"Hungary"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group D",
|
||||
"teams": [
|
||||
"Spain",
|
||||
"Brazil",
|
||||
"Algeria",
|
||||
"Northern Ireland"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group E",
|
||||
"teams": [
|
||||
"Uruguay",
|
||||
"West Germany",
|
||||
"Scotland",
|
||||
"Denmark"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group F",
|
||||
"teams": [
|
||||
"Morocco",
|
||||
"Poland",
|
||||
"Portugal",
|
||||
"England"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"host": "Mexico",
|
||||
"teams_count": 24,
|
||||
"winner": "Argentina",
|
||||
"runner_up": "West Germany",
|
||||
"third_place": "France",
|
||||
"fourth_place": "Belgium"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"stadiums": [
|
||||
{
|
||||
"name": "Estadio Azteca",
|
||||
"city": "Mexico City"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Nou Camp",
|
||||
"city": "León"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Jalisco",
|
||||
"city": "Guadalajara"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Cuauhtémoc",
|
||||
"city": "Puebla"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Olímpico Universitario",
|
||||
"city": "Mexico City"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Universitario",
|
||||
"city": "San Nicolás de los Garza"
|
||||
},
|
||||
{
|
||||
"name": "Estadio La Corregidora",
|
||||
"city": "Querétaro"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Toluca 70–86",
|
||||
"city": "Toluca"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Sergio León Chavez",
|
||||
"city": "Irapuato"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Tres de Marzo",
|
||||
"city": "Zapopan"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Tecnológico",
|
||||
"city": "Monterrey"
|
||||
},
|
||||
{
|
||||
"name": "Estadio Neza 86",
|
||||
"city": "Nezahualcóyotl"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user