From 30d2e360855bcde308fcd3cc73abb6cb6be6948b Mon Sep 17 00:00:00 2001 From: schmop Date: Sun, 31 May 2026 16:12:29 +0200 Subject: [PATCH] =?UTF-8?q?Highscore:=20Stufen-Symbole=20statt=20Rakete,?= =?UTF-8?q?=20Krone=20nur=20f=C3=BCr=20den=20Bestwert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/home/HighscoreColumn.svelte | 53 ++++++++++++++----- 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/src/lib/components/home/HighscoreColumn.svelte b/src/lib/components/home/HighscoreColumn.svelte index e9d98bb..0df93eb 100644 --- a/src/lib/components/home/HighscoreColumn.svelte +++ b/src/lib/components/home/HighscoreColumn.svelte @@ -1,8 +1,13 @@
{#each slots as slot, i (i)} -
+ +
{#if slot} {#if i === 0} {/if} - - - {#each Array(slot.stage) as _, dotIndex (dotIndex)} - - {/each} + + {#if slot.stage === 0} + + {:else} + {@const Symbol = SYMBOL[slot.stage as Stage].c} + + {/if} {:else}
@@ -46,7 +68,6 @@ display: flex; align-items: center; justify-content: center; - gap: 8px; padding: 4px 8px; min-height: 56px; } @@ -63,12 +84,16 @@ left: 50%; transform: translateX(-50%); } - .stage-label { display: flex; gap: 3px; } - .stage-dot { - width: 6px; - height: 6px; - border-radius: 50%; - background: var(--c-rocket-window); + .symbol { + display: flex; + align-items: center; + justify-content: center; + } + .ground { + width: 40px; + height: 18px; + border-radius: 40px 40px 0 0; + background: linear-gradient(to top, #4ea34e, var(--c-ground)); } .placeholder { width: 32px;