website refactor

This commit is contained in:
2026-01-20 21:35:50 +01:00
parent 06207bf835
commit 51288234f4
42 changed files with 892 additions and 449 deletions

View File

@@ -8,6 +8,7 @@ import { Stack } from '@/ui/Stack';
import { Select } from '@/ui/Select';
import { Text } from '@/ui/Text';
import { StatusDot } from '@/ui/StatusDot';
import { Box } from '@/ui/Box';
import { Filter, Search } from 'lucide-react';
export type TimeFilter = 'all' | 'upcoming' | 'live' | 'past';
@@ -77,9 +78,9 @@ export function RaceFilterModal({
onClick={() => setTimeFilter(filter)}
>
{filter === 'live' && (
<Stack mr={2}>
<Box mr={2}>
<StatusDot intent="success" size={1.5} pulse />
</Stack>
</Box>
)}
{filter.charAt(0).toUpperCase() + filter.slice(1)}
</Button>

View File

@@ -1,4 +1,4 @@
'use thought';
'use client';
import { Stack } from '@/ui/Stack';
import { Text } from '@/ui/Text';