diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 1897cfc..ade7c65 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -298,25 +298,35 @@ onMount(() => { {:else if (display_state == "break")} {:else if (display_state == "red-wins")} - red-wins + wavy + red-wins {:else if (display_state == "blue-wins")} - blue-wins + wavy + blue-wins {:else if (display_state == "rockies")} - rockies + wavy + rockies {:else if (display_state == "prairies")} - prairies + wavy + prairies {:else if (display_state == "ab-education")} - ab-education + wavy + ab-education {:else if (display_state == "ab-innovate")} - ab-innovate + wavy + ab-innovate {:else if (display_state == "tcenergy")} - tcenergy + wavy + tcenergy {:else if (display_state == "tourismcalgary")} - tourismcalgary + wavy + tourismcalgary {:else if (display_state == "encore")} - encore + wavy + encore {:else if (display_state == "westmech")} - westmech + wavy + westmech {:else} {/if} @@ -354,6 +364,19 @@ p { background-image: url("/gifs/wavy_background.gif"); } +.gif-foreground { + z-index: 1; + position: relative; + top: -103.3%; + width: 100%; +} + +.gif-background { + z-index: 0; + height: 100%; + width: 100%; +} + #score-background { z-index: 0; position: relative; diff --git a/src/routes/control/+page.svelte b/src/routes/control/+page.svelte index 6c5535e..c65df2e 100644 --- a/src/routes/control/+page.svelte +++ b/src/routes/control/+page.svelte @@ -82,14 +82,14 @@ client.on("message", (topic, message) => { {#each Object.entries(displays) as [name, info]}

{name}

- client.publish(`display/${name}/class`, info.class)}> {#each classes as c} {/each} - client.publish(`display/${name}/state`, info.state)}> {#each states as s}