diff --git a/components/match-card.tsx b/components/match-card.tsx index 8016c2f..6d13fe3 100644 --- a/components/match-card.tsx +++ b/components/match-card.tsx @@ -74,33 +74,37 @@ export function MatchCard({ match, compact = false }: { match: Match; compact?: return ( -
+
{match.isLive &&
} -
-
- -
{match.team1.name}
+
+
+ +
+ {match.team1.name} +
-
+
{hasScore ? match.scoreP - ? `${match.scoreP[0]} – ${match.scoreP[1]}` - : `${ft![0]} – ${ft![1]}` - : '? – ?'} + ? `${match.scoreP[0]}–${match.scoreP[1]}` + : `${ft![0]}–${ft![1]}` + : '?–?'}
{match.scoreP && ( -
{ft![0]}–{ft![1]} a.e.t.
+
{ft![0]}–{ft![1]} a.e.t.
)} -
{match.round}
-
{match.date ? formatDate(match.date) : ''}
{match.scoreEt && !match.scoreP && ( -
a.e.t. {match.scoreEt[0]}–{match.scoreEt[1]}
+
a.e.t.
)} +
{match.round}
+
{match.date ? formatDate(match.date) : ''}
-
- -
{match.team2.name}
+
+ +
+ {match.team2.name} +