website refactor

This commit is contained in:
2026-01-18 23:24:30 +01:00
parent aeaa43f4d3
commit 182056a57b
487 changed files with 1783 additions and 2170 deletions

View File

@@ -1,6 +1,6 @@
import { Button } from '@/ui/Button';
import { Icon } from '@/ui/Icon';
import { Stack } from '@/ui/primitives/Stack';
import { ButtonGroup } from '@/ui/ButtonGroup';
import { CheckCircle, LogOut, PlayCircle, Scale, Trophy, XCircle } from 'lucide-react';
interface RaceActionBarProps {
@@ -41,7 +41,7 @@ export function RaceActionBar({
isLoading = {}
}: RaceActionBarProps) {
return (
<Stack direction="row" gap={3} wrap>
<ButtonGroup gap={3}>
{status === 'scheduled' && (
<>
{!isUserRegistered && canRegister && (
@@ -140,6 +140,6 @@ export function RaceActionBar({
Reopen Race
</Button>
)}
</Stack>
</ButtonGroup>
);
}