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;