website refactor

This commit is contained in:
2026-01-19 00:46:46 +01:00
parent b0431637b7
commit e1ce3bffd1
21 changed files with 297 additions and 121 deletions

View File

@@ -8,6 +8,8 @@ export interface RaceViewData {
relativeTimeLabel: string;
status: 'scheduled' | 'running' | 'completed' | 'cancelled';
statusLabel: string;
statusVariant: string;
statusIconName: string;
sessionType: string;
leagueId: string | null;
leagueName: string | null;

View File

@@ -22,6 +22,7 @@ export interface TeamDetailData {
ownerId: string;
leagues: string[];
createdAt?: string;
foundedDateLabel?: string;
specialization?: string;
region?: string;
languages?: string[];
@@ -39,6 +40,7 @@ export interface TeamMemberData {
driverName: string;
role: 'owner' | 'manager' | 'member';
joinedAt: string;
joinedAtLabel: string;
isActive: boolean;
avatarUrl: string;
}
@@ -56,4 +58,6 @@ export interface TeamDetailViewData {
isAdmin: boolean;
teamMetrics: SponsorMetric[];
tabs: TeamTab[];
memberCountLabel: string;
leagueCountLabel: string;
}