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": [
|
||||
"Qatar",
|
||||
"Ecuador",
|
||||
"Senegal",
|
||||
"Netherlands"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group B",
|
||||
"teams": [
|
||||
"England",
|
||||
"Iran",
|
||||
"United States",
|
||||
"Wales"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group C",
|
||||
"teams": [
|
||||
"Argentina",
|
||||
"Saudi Arabia",
|
||||
"Mexico",
|
||||
"Poland"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group D",
|
||||
"teams": [
|
||||
"Denmark",
|
||||
"Tunisia",
|
||||
"France",
|
||||
"Australia"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group E",
|
||||
"teams": [
|
||||
"Germany",
|
||||
"Japan",
|
||||
"Spain",
|
||||
"Costa Rica"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group F",
|
||||
"teams": [
|
||||
"Morocco",
|
||||
"Croatia",
|
||||
"Belgium",
|
||||
"Canada"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group G",
|
||||
"teams": [
|
||||
"Switzerland",
|
||||
"Cameroon",
|
||||
"Brazil",
|
||||
"Serbia"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group H",
|
||||
"teams": [
|
||||
"Uruguay",
|
||||
"South Korea",
|
||||
"Portugal",
|
||||
"Ghana"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"host": "Qatar",
|
||||
"teams_count": 32,
|
||||
"winner": "Argentina",
|
||||
"runner_up": "France",
|
||||
"third_place": "Croatia",
|
||||
"fourth_place": "Morocco"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"stadiums": [
|
||||
{
|
||||
"name": "Khalifa International Stadium",
|
||||
"city": "Al Rayyan"
|
||||
},
|
||||
{
|
||||
"name": "Ahmad bin Ali Stadium",
|
||||
"city": "Al Rayyan"
|
||||
},
|
||||
{
|
||||
"name": "Al Thumama Stadium",
|
||||
"city": "Doha"
|
||||
},
|
||||
{
|
||||
"name": "Al Bayt Stadium",
|
||||
"city": "Al Khor"
|
||||
},
|
||||
{
|
||||
"name": "Al Janoub Stadium",
|
||||
"city": "Al Wakrah"
|
||||
},
|
||||
{
|
||||
"name": "Stadium 974",
|
||||
"city": "Doha"
|
||||
},
|
||||
{
|
||||
"name": "Education City Stadium",
|
||||
"city": "Al Rayyan"
|
||||
},
|
||||
{
|
||||
"name": "Lusail Stadium",
|
||||
"city": "Lusail"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user