diff --git a/src/app/matches/[id]/page.tsx b/src/app/matches/[id]/page.tsx index da3596b..8117d53 100644 --- a/src/app/matches/[id]/page.tsx +++ b/src/app/matches/[id]/page.tsx @@ -88,8 +88,8 @@ export default async function MatchDetailPage({ params }: PageProps) {
{/* Table Square */}
- {/* Team 1 (Top) */} -
+ {/* Top: Team 1 Player 1 */} +

{match.team1P1.name} @@ -103,25 +103,12 @@ export default async function MatchDetailPage({ params }: PageProps) { )}

-
Team 1
+
Team 1
- {/* Team 2 (Bottom) */} -
-
Team 2
-
-

- {match.team2P1.name} -

-

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

-
+ {/* Bottom: Team 2 Player 2 */} +
+
Team 2

{match.team2P2.name} @@ -137,7 +124,7 @@ export default async function MatchDetailPage({ params }: PageProps) {

- {/* Left side - Team 1 (Player 2) */} + {/* Left: Team 1 Player 2 */}

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

- {/* Right side - Team 2 (Player 2) */} + {/* Right: Team 2 Player 1 */}

- {match.team2P2.name} + {match.team2P1.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]}) + Elo: {match.team2P1.currentElo} + {eloChanges[match.team2P1.id] !== undefined && ( + = 0 ? "text-green-600" : "text-red-600"}> + ({eloChanges[match.team2P1.id] >= 0 ? "+" : ""}{eloChanges[match.team2P1.id]}) )}