From b5208e5ca76b5df8fc5f619a73409aca95683820 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Thu, 9 Jan 2025 21:22:42 +0100 Subject: [PATCH] IT'S WORKING --- web/src/App.svelte | 2 +- web/src/pages/Game.svelte | 65 +++++++++++++++++++++++---------------- 2 files changed, 40 insertions(+), 27 deletions(-) diff --git a/web/src/App.svelte b/web/src/App.svelte index ce2eae7..81f46f7 100644 --- a/web/src/App.svelte +++ b/web/src/App.svelte @@ -4,6 +4,6 @@
- + diff --git a/web/src/pages/Game.svelte b/web/src/pages/Game.svelte index b3b10db..2f863b8 100644 --- a/web/src/pages/Game.svelte +++ b/web/src/pages/Game.svelte @@ -1,41 +1,54 @@

Game

-Played at: {game.added}
-Added by: {game.author}
-Overtime: {game.overtime}
- -Team 1: {scoreTeam0} Team2: {scoreTeam1}
-{game.team0player0} | {game.team1player0}
-{game.team0player1} | {game.team1player1}
+{#if loading} + Loading... +{:else} + {data?.game?.score} +{/if}