KO: Stadion + Anstoss

This commit is contained in:
2026-06-27 16:22:43 -05:00
parent 4d838e2fb7
commit e9701ce25b
2 changed files with 12 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ function fmtMatchInfo(utcDate?: string, stadiumId?: string): string {
const city = stadiumId ? STADIUMS[stadiumId]?.city : "";
const parts = [`${dateStr}`, `${timeStr}`];
if (city) parts.push(city);
return parts.join(" · ");
return parts.join(" ");
}
function Tie({
@@ -69,8 +69,10 @@ function Tie({
}) {
return (
<div className={`tie ${isFinal ? "final-tie" : ""}`}>
<div className="tie-head">Spiel {tie.matchNumber}</div>
{matchInfo && <div className="tie-meta">{matchInfo}</div>}
<div className="match-badge">{tie.matchNumber}</div>
<div className="tie-head">
{matchInfo || `Spiel ${tie.matchNumber}`}
</div>
<Side s={tie.home} prob={tie.prob?.home} teams={teams} onShowTip={onShowTip} onHideTip={onHideTip} />
<Side s={tie.away} prob={tie.prob?.away} teams={teams} onShowTip={onShowTip} onHideTip={onHideTip} />
</div>