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,76 @@
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"name": "Group A",
|
||||
"teams": [
|
||||
"Germany",
|
||||
"Costa Rica",
|
||||
"Poland",
|
||||
"Ecuador"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group B",
|
||||
"teams": [
|
||||
"England",
|
||||
"Paraguay",
|
||||
"Trinidad and Tobago",
|
||||
"Sweden"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group C",
|
||||
"teams": [
|
||||
"Argentina",
|
||||
"Ivory Coast",
|
||||
"Serbia and Montenegro",
|
||||
"Netherlands"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group D",
|
||||
"teams": [
|
||||
"Mexico",
|
||||
"Iran",
|
||||
"Angola",
|
||||
"Portugal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group E",
|
||||
"teams": [
|
||||
"United States",
|
||||
"Czech Republic",
|
||||
"Italy",
|
||||
"Ghana"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group F",
|
||||
"teams": [
|
||||
"Australia",
|
||||
"Japan",
|
||||
"Brazil",
|
||||
"Croatia"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group G",
|
||||
"teams": [
|
||||
"South Korea",
|
||||
"Togo",
|
||||
"France",
|
||||
"Switzerland"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group H",
|
||||
"teams": [
|
||||
"Spain",
|
||||
"Ukraine",
|
||||
"Tunisia",
|
||||
"Saudi Arabia"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"host": "Germany",
|
||||
"teams_count": 32,
|
||||
"winner": "Italy",
|
||||
"runner_up": "France",
|
||||
"third_place": "Germany",
|
||||
"fourth_place": "Portugal"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"stadiums": [
|
||||
{
|
||||
"name": "Allianz Arena",
|
||||
"city": "Munich"
|
||||
},
|
||||
{
|
||||
"name": "Zentralstadion",
|
||||
"city": "Leipzig"
|
||||
},
|
||||
{
|
||||
"name": "Gottlieb-Daimler-Stadion",
|
||||
"city": "Stuttgart"
|
||||
},
|
||||
{
|
||||
"name": "Frankenstadion",
|
||||
"city": "Nuremberg"
|
||||
},
|
||||
{
|
||||
"name": "Fritz-Walter-Stadion",
|
||||
"city": "Kaiserslautern"
|
||||
},
|
||||
{
|
||||
"name": "RheinEnergieStadion",
|
||||
"city": "Cologne"
|
||||
},
|
||||
{
|
||||
"name": "Westfalenstadion",
|
||||
"city": "Dortmund"
|
||||
},
|
||||
{
|
||||
"name": "Niedersachsenstadion",
|
||||
"city": "Hanover"
|
||||
},
|
||||
{
|
||||
"name": "Olympiastadion",
|
||||
"city": "Berlin"
|
||||
},
|
||||
{
|
||||
"name": "Volksparkstadion",
|
||||
"city": "Hamburg"
|
||||
},
|
||||
{
|
||||
"name": "Arena AufSchalke",
|
||||
"city": "Gelsenkirchen"
|
||||
},
|
||||
{
|
||||
"name": "Waldstadion",
|
||||
"city": "Frankfurt"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user