'use client'; import React from 'react'; import { Calendar, Clock, ChevronRight } from 'lucide-react'; import { Box } from '@/ui/Box'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { Heading } from '@/ui/Heading'; import { Button } from '@/ui/Button'; import { Link } from '@/ui/Link'; import { Surface } from '@/ui/Surface'; interface NextRaceCardProps { nextRace: { id: string; track: string; car: string; formattedDate: string; formattedTime: string; timeUntil: string; isMyLeague: boolean; }; } export function NextRaceCard({ nextRace }: NextRaceCardProps) { return ( Next Race {nextRace.isMyLeague && ( Your League )} {nextRace.track} {nextRace.car} {nextRace.formattedDate} {nextRace.formattedTime} Starts in {nextRace.timeUntil} ); }