import { Link } from '@tanstack/react-router' import { ChevronRight, Radio } from 'lucide-react' import type { WeekendContext } from '../../types' import { EventPodium, Flag, SessionTimeline } from './shared' export function LiveHandoffView({ context }: { context: WeekendContext }) { const { active_meeting_name, active_circuit_short_name, sessions, last_session } = context const liveSession = sessions?.find((s) => s.status === 'live') return (
Session live

{active_meeting_name ?? 'Live session'}

{active_circuit_short_name &&

{active_circuit_short_name}

}

{liveSession ? `${liveSession.session_name} is on track now.` : 'A session is running now.'}

{sessions && } {last_session && (
{last_session.label} ยท Complete

What happened in {last_session.label}

)}
) }