diff --git a/app/stats/page.tsx b/app/stats/page.tsx
index e24472f..848c122 100644
--- a/app/stats/page.tsx
+++ b/app/stats/page.tsx
@@ -290,19 +290,26 @@ export default function StatsPage() {
🌍 Performance by Confederation
-
- ConfederationAppearancesTitlesGoals
-
- {confStats.map(c => (
-
- {c.confederation}
- {c.appearances}
- {c.titles}
- {c.totalGoals}
-
- ))}
+
+
+
+ | Confederation |
+ Appearances |
+ Titles |
+ Goals |
+
+
+
+ {confStats.map(c => (
+
+ | {c.confederation} |
+ {c.appearances} |
+ {c.titles} |
+ {c.totalGoals} |
+
+ ))}
+
+
)}
@@ -312,37 +319,42 @@ export default function StatsPage() {
📊 All-Time Team Table
-
-
#TeamWC
-
WDL
-
GFGAGD
-
Win%
+
+
+
+
+ {['#', 'Team', 'WC', 'W', 'D', 'L', 'GF', 'GA', 'GD', 'Win%'].map((h, i) => (
+ | {h} |
+ ))}
+
+
+
+ {teams.slice(0, 40).map((t, i) => (
+
+ | {i + 1} |
+
+
+
+ {t.name}
+
+ |
+ {t.stats?.appearances} |
+ {t.stats?.wins} |
+ {t.stats?.draws} |
+ {t.stats?.losses} |
+ {t.stats?.goalsFor} |
+ {t.stats?.goalsAgainst} |
+
+ {(t.stats?.goalsFor ?? 0) - (t.stats?.goalsAgainst ?? 0) >= 0
+ ? `+${(t.stats?.goalsFor ?? 0) - (t.stats?.goalsAgainst ?? 0)}`
+ : (t.stats?.goalsFor ?? 0) - (t.stats?.goalsAgainst ?? 0)}
+ |
+ {t.stats?.winPct}% |
+
+ ))}
+
+
- {teams.slice(0, 40).map((t, i) => (
-
-
-
{i + 1}
-
-
- {t.name}
-
-
{t.stats?.appearances}
-
{t.stats?.wins}
-
{t.stats?.draws}
-
{t.stats?.losses}
-
{t.stats?.goalsFor}
-
{t.stats?.goalsAgainst}
-
- {(t.stats?.goalsFor ?? 0) - (t.stats?.goalsAgainst ?? 0) >= 0
- ? `+${(t.stats?.goalsFor ?? 0) - (t.stats?.goalsAgainst ?? 0)}`
- : (t.stats?.goalsFor ?? 0) - (t.stats?.goalsAgainst ?? 0)}
-
-
{t.stats?.winPct}%
-
-
- ))}
)}