website refactor
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { StatGrid } from '@/ui/StatGrid';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { CalendarDays, Clock, Trophy, Zap } from 'lucide-react';
|
||||
import React from 'react';
|
||||
|
||||
@@ -20,12 +21,12 @@ export function RaceStats({ stats }: RaceStatsProps) {
|
||||
];
|
||||
|
||||
return (
|
||||
<div style={{ marginTop: '1.5rem' }}>
|
||||
<Box marginTop={6}>
|
||||
<StatGrid
|
||||
stats={mappedStats}
|
||||
columns={{ base: 2, md: 4 }}
|
||||
variant="box"
|
||||
/>
|
||||
</div>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user