website refactor

This commit is contained in:
2026-01-20 15:12:28 +01:00
parent a972bb4195
commit 94aaaff704
25 changed files with 793 additions and 574 deletions

View File

@@ -19,6 +19,11 @@ export class TeamsViewDataBuilder {
ratingLabel: RatingDisplay.format(team.rating),
winsLabel: NumberDisplay.format(team.totalWins || 0),
racesLabel: NumberDisplay.format(team.totalRaces || 0),
region: team.region,
isRecruiting: team.isRecruiting,
category: team.category,
performanceLevel: team.performanceLevel,
description: team.description,
}));
return { teams };

View File

@@ -14,6 +14,11 @@ export interface TeamSummaryData {
ratingLabel: string;
winsLabel: string;
racesLabel: string;
region?: string;
isRecruiting: boolean;
category?: string;
performanceLevel?: string;
description?: string;
}
export interface TeamsViewData extends ViewData {