website refactor

This commit is contained in:
2026-01-18 16:18:18 +01:00
parent 0b301feb61
commit 13567d51af
329 changed files with 4701 additions and 4750 deletions

View File

@@ -1,10 +1,10 @@
import React from 'react';
import { Stack } from '@/ui/Stack';
import { Box } from '@/ui/Box';
import { Heading } from '@/ui/Heading';
import { Badge } from '@/ui/Badge';
import { Grid } from '@/ui/Grid';
import { StatItem } from '@/ui/StatItem';
import { Card } from '@/ui/Card';
interface StandingsItemProps {
leagueName: string;
@@ -22,11 +22,8 @@ export function StandingsItem({
racesCompleted,
}: StandingsItemProps) {
return (
<Box
bg="bg-iron-gray/50"
rounded="lg"
border
borderColor="border-charcoal-outline"
<Card
variant="default"
p={4}
>
<Stack direction="row" align="center" justify="between" mb={3}>
@@ -43,6 +40,6 @@ export function StandingsItem({
<StatItem label="Wins" value={wins} align="center" />
<StatItem label="Races" value={racesCompleted} align="center" />
</Grid>
</Box>
</Card>
);
}