website refactor

This commit is contained in:
2026-01-21 22:36:01 +01:00
parent ea58909070
commit 5ed958281d
49 changed files with 8763 additions and 131 deletions

View File

@@ -129,7 +129,7 @@ export function EnhancedLeagueSchedulePanel({
const isExpanded = expandedMonths.has(monthKey);
return (
<Surface key={monthKey} variant="precision" overflow="hidden">
<Surface key={monthKey} variant="precision" overflow="hidden" data-testid="schedule-month-group">
{/* Month Header */}
<Box
display="flex"
@@ -163,6 +163,7 @@ export function EnhancedLeagueSchedulePanel({
key={race.id}
variant="precision"
p={4}
data-testid="race-item"
>
<Box display="flex" alignItems="center" justifyContent="space-between" gap={4}>
{/* Race Info */}
@@ -208,6 +209,7 @@ export function EnhancedLeagueSchedulePanel({
size="sm"
onClick={() => onRegister(race.id)}
icon={<Icon icon={CheckCircle} size={3} />}
data-testid="register-button"
>
Register
</Button>