diff --git a/src/app/matches/[id]/page.tsx b/src/app/matches/[id]/page.tsx index de8468c..e333b83 100644 --- a/src/app/matches/[id]/page.tsx +++ b/src/app/matches/[id]/page.tsx @@ -89,7 +89,7 @@ export default async function MatchDetailPage({ params }: PageProps) {
{/* Table Square - Larger with more padding */}
- {/* Top: Team 1 Player 1 - Moved 20px up */} + {/* Top: Team 1 Player 1 */}

@@ -107,34 +107,17 @@ export default async function MatchDetailPage({ params }: PageProps) {

Team 1
- {/* Bottom: Team 2 Player 2 - Moved 10px down */} + {/* Bottom: Team 1 Player 2 - teammate opposite Top */}
-
Team 2
+
Team 1
-

- {match.team2P2.name} -

-

- Elo: {match.team2P2.currentElo} - {eloChanges[match.team2P2.id] !== undefined && ( - = 0 ? "text-green-600 ml-1" : "text-red-600 ml-1"}> - ({eloChanges[match.team2P2.id] >= 0 ? "+" : ""}{eloChanges[match.team2P2.id]}) - - )} -

-
-
- - {/* Left: Team 1 Player 2 - Moved 20px left */} -
-
-

+

{match.team1P2.name}

-

+

Elo: {match.team1P2.currentElo} {eloChanges[match.team1P2.id] !== undefined && ( - = 0 ? "text-green-600" : "text-red-600"}> + = 0 ? "text-green-600 ml-1" : "text-red-600 ml-1"}> ({eloChanges[match.team1P2.id] >= 0 ? "+" : ""}{eloChanges[match.team1P2.id]}) )} @@ -142,9 +125,9 @@ export default async function MatchDetailPage({ params }: PageProps) {

- {/* Right: Team 2 Player 1 - Moved 20px right */} -
-
+ {/* Left: Team 2 Player 1 */} +
+

{match.team2P1.name}

@@ -159,6 +142,23 @@ export default async function MatchDetailPage({ params }: PageProps) {
+ {/* Right: Team 2 Player 2 - teammate opposite Left */} +
+
+

+ {match.team2P2.name} +

+

+ Elo: {match.team2P2.currentElo} + {eloChanges[match.team2P2.id] !== undefined && ( + = 0 ? "text-green-600" : "text-red-600"}> + ({eloChanges[match.team2P2.id] >= 0 ? "+" : ""}{eloChanges[match.team2P2.id]}) + + )} +

+
+
+ {/* Score in Center */}