feat: implement leaderboard page with top players, teams, and high scores

- Added a new leaderboard route with server-side loading for top players, teams, and recent high scores.
- Created a new Svelte component for the leaderboard UI, including tabs for players, teams, and scores.
- Implemented ELO ranking display and win/loss statistics for players.
- Added functionality to display team wins and member counts.
- Included recent high scores with player context and map details.
- Enhanced team management features in the teams route, including renaming and member management with permission checks.
This commit is contained in:
2026-02-28 18:18:11 +01:00
parent fb9140a03f
commit b506dba0eb
285 changed files with 1184 additions and 47362 deletions

View File

@@ -38,13 +38,6 @@
* The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
*/
declare module '$env/static/private' {
export const DATABASE_URL: string;
export const ORIGIN: string;
export const BETTER_AUTH_SECRET: string;
export const OSU_CLIENT_ID: string;
export const OSU_CLIENT_SECRET: string;
export const OSU_IRC_USERNAME: string;
export const OSU_IRC_PASSWORD: string;
export const NVM_INC: string;
export const TERM_PROGRAM: string;
export const NODE: string;
@@ -198,13 +191,6 @@ declare module '$env/static/public' {
*/
declare module '$env/dynamic/private' {
export const env: {
DATABASE_URL: string;
ORIGIN: string;
BETTER_AUTH_SECRET: string;
OSU_CLIENT_ID: string;
OSU_CLIENT_SECRET: string;
OSU_IRC_USERNAME: string;
OSU_IRC_PASSWORD: string;
NVM_INC: string;
TERM_PROGRAM: string;
NODE: string;