aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-18 22:30:46 -0500
committermat <github@matdoes.dev>2022-03-18 22:30:46 -0500
commit12368701eefe7a5e1354b2327fe587539ceef7a8 (patch)
tree8b3097fe02f95351ecc4b0efc0b5c1e98b77746e /src/routes
parentb24faf36d612f584770a404bd750943a55dab3e2 (diff)
downloadskyblock-stats-12368701eefe7a5e1354b2327fe587539ceef7a8.tar.gz
skyblock-stats-12368701eefe7a5e1354b2327fe587539ceef7a8.tar.bz2
skyblock-stats-12368701eefe7a5e1354b2327fe587539ceef7a8.zip
Improve leaderboard page
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/leaderboards/[name].svelte2
-rw-r--r--src/routes/leaderboards/index.svelte1
-rw-r--r--src/routes/player/[player]/[profile].svelte1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/leaderboards/[name].svelte b/src/routes/leaderboards/[name].svelte
index bed26b2..1ada4b3 100644
--- a/src/routes/leaderboards/[name].svelte
+++ b/src/routes/leaderboards/[name].svelte
@@ -39,7 +39,7 @@
{#if imageUrl}
<img src={imageUrl} alt={cleanId(data.name.slice(11))} />
{/if}
- {toTitleCase(cleanId(data.name))}
+ {toTitleCase(cleanId(data.name))} Leaderboard
</h1>
{#if data.info}
<p class="leaderboard-info">
diff --git a/src/routes/leaderboards/index.svelte b/src/routes/leaderboards/index.svelte
index b6815e5..37fcb94 100644
--- a/src/routes/leaderboards/index.svelte
+++ b/src/routes/leaderboards/index.svelte
@@ -29,6 +29,7 @@
<Header />
<main>
+ <h1>SkyBlock Leaderboards</h1>
<Toc categories={Object.keys(data)} />
{#each Object.entries(data) as [category, leaderboards]}
diff --git a/src/routes/player/[player]/[profile].svelte b/src/routes/player/[player]/[profile].svelte
index a801803..d74ff08 100644
--- a/src/routes/player/[player]/[profile].svelte
+++ b/src/routes/player/[player]/[profile].svelte
@@ -222,7 +222,6 @@
}
section {
- margin-bottom: 0.5em;
max-width: fit-content;
}