From 08a9544f64635b0c4abe27f8999e69e0a8269271 Mon Sep 17 00:00:00 2001 From: Stan Runge Date: Sun, 1 Mar 2026 18:33:30 +0100 Subject: [PATCH] feat: update finished modal to finished banner with improved styling and layout --- src/routes/(app)/matches/[id]/+page.svelte | 36 ++++++---------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/src/routes/(app)/matches/[id]/+page.svelte b/src/routes/(app)/matches/[id]/+page.svelte index 79b59af..890cf4c 100644 --- a/src/routes/(app)/matches/[id]/+page.svelte +++ b/src/routes/(app)/matches/[id]/+page.svelte @@ -468,35 +468,17 @@ {/if} - + {#if m.state === 'FINISHED'} {@const winner = m.participants.find((p: any) => p.teamId === m.winnerId)} -
-
-
🏆
-

- {winner?.team.name} wins! -

-

- {p1?.score} – {p2?.score} -

- -
- {#each m.games as game} - {@const bm = data.beatmapCache[game.slot?.beatmapId]} - {@const winnerP = m.participants.find((p: any) => p.id === game.winnerParticipantId)} -
- {game.slot?.category}{game.slot?.orderInCategory} - {bm ? `${bm.artist} - ${bm.title}` : `#${game.slot?.beatmapId}`} - {winnerP?.team.name} -
- {/each} -
- - - Back to Dashboard - -
+
+
🏆
+

+ {winner?.team.name} wins! +

+

+ {p1?.score} – {p2?.score} +

{/if}