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": [
|
||||
"United States",
|
||||
"Switzerland",
|
||||
"Colombia",
|
||||
"Romania"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group B",
|
||||
"teams": [
|
||||
"Cameroon",
|
||||
"Sweden",
|
||||
"Brazil",
|
||||
"Russia"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group C",
|
||||
"teams": [
|
||||
"Germany",
|
||||
"Bolivia",
|
||||
"Spain",
|
||||
"South Korea"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group D",
|
||||
"teams": [
|
||||
"Argentina",
|
||||
"Greece",
|
||||
"Nigeria",
|
||||
"Bulgaria"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group E",
|
||||
"teams": [
|
||||
"Italy",
|
||||
"Republic of Ireland",
|
||||
"Norway",
|
||||
"Mexico"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group F",
|
||||
"teams": [
|
||||
"Belgium",
|
||||
"Morocco",
|
||||
"Netherlands",
|
||||
"Saudi Arabia"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"host": "United States",
|
||||
"teams_count": 24,
|
||||
"winner": "Brazil",
|
||||
"runner_up": "Italy",
|
||||
"third_place": "Sweden",
|
||||
"fourth_place": "Bulgaria"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"stadiums": [
|
||||
{
|
||||
"name": "Soldier Field",
|
||||
"city": "Chicago"
|
||||
},
|
||||
{
|
||||
"name": "RFK Stadium",
|
||||
"city": "Washington, D.C."
|
||||
},
|
||||
{
|
||||
"name": "Cotton Bowl",
|
||||
"city": "Dallas"
|
||||
},
|
||||
{
|
||||
"name": "Rose Bowl",
|
||||
"city": "Pasadena"
|
||||
},
|
||||
{
|
||||
"name": "Citrus Bowl",
|
||||
"city": "Orlando"
|
||||
},
|
||||
{
|
||||
"name": "Stanford Stadium",
|
||||
"city": "Stanford"
|
||||
},
|
||||
{
|
||||
"name": "Foxboro Stadium",
|
||||
"city": "Foxborough"
|
||||
},
|
||||
{
|
||||
"name": "Giants Stadium",
|
||||
"city": "East Rutherford"
|
||||
},
|
||||
{
|
||||
"name": "Pontiac Silverdome",
|
||||
"city": "Pontiac"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user