Skip to content

Commit

Permalink
update leaderboard names
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliapixel committed Apr 20, 2024
1 parent 237522b commit aae03f3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 27 deletions.
12 changes: 7 additions & 5 deletions src/lib/AsyncMarkdownReq.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
}
</script>

{#await request(url)}
Loading...
{:then resp}
{@html marked.parse(resp)}
{/await}
<div>
{#await request(url)}
Loading...
{:then resp}
{@html marked.parse(resp)}
{/await}
</div>
38 changes: 16 additions & 22 deletions src/lib/Leaderboards.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,24 @@
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
<!-- this is not a hack shut up -->
{#if folder != "global"}
<div>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/leaderboardfish.md"
/>
</div>
<div>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/leaderboardtotalcount.md"
/>
</div>
<div>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/leaderboardtrophies.md"
/>
</div>
{/if}
<div>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/leaderboardtype.md"
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/fishweek.md"
/>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/trophy.md"
/>
</div>
<div>
{:else}
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/leaderboardweight.md"
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/rare.md"
/>
</div>
{/if}
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/weight.md"
/>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/count.md"
/>
<AsyncMarkdownReq
url="https://raw.githubusercontent.com/blableblup/gofish/main/leaderboards/{folder}/type.md"
/>
</div>

0 comments on commit aae03f3

Please # to comment.