website refactor

This commit is contained in:
2026-01-18 13:26:35 +01:00
parent 350c78504d
commit 0b301feb61
225 changed files with 1678 additions and 26666 deletions

View File

@@ -0,0 +1,33 @@
import React from 'react';
import { Stack } from '@/ui/Stack';
import { StandingsItem } from './StandingsItem';
interface Standing {
leagueId: string;
leagueName: string;
position: number;
points: number;
wins: number;
racesCompleted: number;
}
interface StandingsListProps {
standings: Standing[];
}
export function StandingsList({ standings }: StandingsListProps) {
return (
<Stack gap={4}>
{standings.map((standing) => (
<StandingsItem
key={standing.leagueId}
leagueName={standing.leagueName}
position={standing.position}
points={standing.points}
wins={standing.wins}
racesCompleted={standing.racesCompleted}
/>
))}
</Stack>
);
}