website refactor

This commit is contained in:
2026-01-17 18:28:10 +01:00
parent 6d57f8b1ce
commit 64d9e7fd16
44 changed files with 1729 additions and 415 deletions

View File

@@ -12,17 +12,20 @@ import { getLeagueScoringPresetById } from './LeagueScoringPresets';
/* eslint-disable @typescript-eslint/no-unused-vars */
class SilentLogger implements Logger {
private getTimestamp(): string {
return new Date().toISOString();
}
debug(..._args: unknown[]): void {
// console.debug(...args);
// console.debug(`[${this.getTimestamp()}]`, ...args);
}
info(..._args: unknown[]): void {
// console.info(...args);
// console.info(`[${this.getTimestamp()}]`, ...args);
}
warn(..._args: unknown[]): void {
// console.warn(...args);
// console.warn(`[${this.getTimestamp()}]`, ...args);
}
error(..._args: unknown[]): void {
// console.error(...args);
// console.error(`[${this.getTimestamp()}]`, ...args);
}
}