Merge branch 'main' into alternative-style

This commit is contained in:
naturel
2024-11-06 10:41:02 +01:00
committed by GitHub
3 changed files with 6 additions and 4 deletions

View File

@@ -5,7 +5,8 @@
</script>
<ul class="leaderboard">
{#if scores.length === 0}
No scores for now...
{/if}
@@ -89,9 +90,9 @@
flex-grow: 10;
text-align: center;
}
@media screen and (min-width: 601px) {
.leaderboard { width: 55vw; }
}
</style>
</style>

View File

@@ -6,4 +6,4 @@ export const load = async ( {fetch} ) => {
const res = await fetch(`${api_url}/leaderboard`)
const leaderboard = await res.json()
return { leaderboard };
}
}

View File

@@ -10,6 +10,7 @@
scoreStore.load(data.leaderboard)
})
</script>
<PageTitle>Qui va y passer ?</PageTitle>