Merge remote-tracking branch 'origin/alternative-style' into alternative-style
This commit is contained in:
@@ -5,7 +5,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ul class="leaderboard">
|
<ul class="leaderboard">
|
||||||
|
|
||||||
|
|
||||||
{#if scores.length === 0}
|
{#if scores.length === 0}
|
||||||
No scores for now...
|
No scores for now...
|
||||||
{/if}
|
{/if}
|
||||||
@@ -89,9 +90,9 @@
|
|||||||
flex-grow: 10;
|
flex-grow: 10;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 601px) {
|
@media screen and (min-width: 601px) {
|
||||||
.leaderboard { width: 55vw; }
|
.leaderboard { width: 55vw; }
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ export const load = async ( {fetch} ) => {
|
|||||||
const res = await fetch(`${api_url}/leaderboard`)
|
const res = await fetch(`${api_url}/leaderboard`)
|
||||||
const leaderboard = await res.json()
|
const leaderboard = await res.json()
|
||||||
return { leaderboard };
|
return { leaderboard };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
scoreStore.load(data.leaderboard)
|
scoreStore.load(data.leaderboard)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<PageTitle>Qui va y passer ?</PageTitle>
|
<PageTitle>Qui va y passer ?</PageTitle>
|
||||||
|
|||||||
Reference in New Issue
Block a user