diff --git a/src/routes/(app)/leaderboard/+page.svelte b/src/routes/(app)/leaderboard/+page.svelte index c53cd26..0925fc4 100644 --- a/src/routes/(app)/leaderboard/+page.svelte +++ b/src/routes/(app)/leaderboard/+page.svelte @@ -57,131 +57,109 @@ {#if activeTab === 'players'} -
No ranked players yet. Play some matches!
| # | ++ | Player | +ELO | +W/L | +Win % | +
|---|---|---|---|---|---|
| + {medal ? medal.emoji : p.rank} + | +
+ {#if p.image}
+
+ {p.name.charAt(0).toUpperCase()}
+
+ {/if}
+ |
+ {p.name} | +{p.elo} | ++ {p.wins}/{p.losses} + | ++ {p.winRate}{p.winRate !== '—' ? '%' : ''} + | +
No team results yet.
{t.memberCount} member{t.memberCount !== 1 ? 's' : ''}
-| # | ++ | Team | +Wins | +Matches | +
|---|---|---|---|---|
| + {medal ? medal.emoji : t.rank} + | +
+ {#if t.avatarUrl}
+
+ {t.name.charAt(0).toUpperCase()}
+
+ {/if}
+ |
+
+ {t.name}
+ {#if t.isPersonal}
+ (solo)
+ {/if}
+ {t.memberCount} member{t.memberCount !== 1 ? 's' : ''} + |
+ {t.wins} | +{t.totalMatches} | +
No scores recorded yet.
@@ -190,71 +168,56 @@Ranked by pp (performance points) when available, then score
- {s.matchName} -
-| # | ++ | Player | +Map | +PP | +Score | +Acc | +
|---|---|---|---|---|---|---|
| + {medal ? medal.emoji : s.rank} + | +
+ {#if s.playerImage}
+
+ {s.playerName.charAt(0).toUpperCase()}
+
+ {/if}
+ |
+
+ {s.playerName}
+ + {s.matchName} + + |
+ + {s.mapCategory}{s.mapOrder} + | ++ {s.pp != null ? `${Math.round(s.pp)}pp` : '—'} + | ++ {s.score.toLocaleString()} + | ++ {s.accuracy > 0 ? `${(s.accuracy * 100).toFixed(1)}%` : '—'} + | +