Skip to content

Commit

Permalink
change channel list
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliapixel committed Aug 4, 2024
1 parent f2e9b6b commit 2d1f3f7
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,34 @@
function storeChannel(this: HTMLSelectElement) {
localStorage.setItem("channel", this.value);
}
/** only those which have individual leadeboards */
const channels = [
"global",
"breadworms",
"psp1g",
"julialuxel"
// "ovrht",
// "d_egree",
// "ajspyman",
// "ryanpotat",
];
</script>

<Meta description="Leaderboards for gofish" title="gofish leaderboards" image="/favicon.png" />

<div class="ml-8 mr-8 lg:ml-32 lg:mr-32">
<h1 class="mb-4 mt-8">gofish leaderboards! 🎣 🤩 🏆</h1>
<span>channel: </span><select
<span>channel: </span>
<select
bind:value={selected}
on:change={changeParams}
on:change={storeChannel}
class="mt-5 mb-5"
>
<option value="global">global</option>
<option value="breadworms">breadworms</option>
<option value="psp1g">psp1g</option>
{#each channels as channel}
<option value={channel}>{channel}</option>
{/each}
</select>

{#if loaded}
Expand Down

0 comments on commit 2d1f3f7

Please sign in to comment.