wip
This commit is contained in:
@@ -13,6 +13,7 @@ import PointsTable from '@/components/leagues/PointsTable';
|
||||
import { RulebookTabs, type RulebookSection } from '@/components/leagues/RulebookTabs';
|
||||
import type { LeagueRulebookViewData } from '@/lib/view-data/LeagueRulebookViewData';
|
||||
import { Surface } from '@/ui/Surface';
|
||||
import { Clock } from 'lucide-react';
|
||||
|
||||
interface LeagueRulebookTemplateProps {
|
||||
viewData: LeagueRulebookViewData;
|
||||
@@ -81,6 +82,34 @@ export function LeagueRulebookTemplate({
|
||||
<StatItem label="Drop Policy" value={scoringConfig.dropPolicySummary.includes('All') ? 'None' : 'Active'} />
|
||||
</Grid>
|
||||
|
||||
{/* Weekend Structure */}
|
||||
<Card>
|
||||
<Stack gap={4}>
|
||||
<Stack direction="row" align="center" gap={2}>
|
||||
<Clock className="w-5 h-5 text-primary-blue" />
|
||||
<Heading level={2}>Weekend Structure & Timings</Heading>
|
||||
</Stack>
|
||||
<Grid cols={4} gap={4}>
|
||||
<Surface variant="muted" rounded="lg" border padding={3}>
|
||||
<Text size="xs" color="text-gray-500" block mb={1} style={{ textTransform: 'uppercase' }}>Practice</Text>
|
||||
<Text weight="medium" color="text-white">20 min</Text>
|
||||
</Surface>
|
||||
<Surface variant="muted" rounded="lg" border padding={3}>
|
||||
<Text size="xs" color="text-gray-500" block mb={1} style={{ textTransform: 'uppercase' }}>Qualifying</Text>
|
||||
<Text weight="medium" color="text-white">30 min</Text>
|
||||
</Surface>
|
||||
<Surface variant="muted" rounded="lg" border padding={3}>
|
||||
<Text size="xs" color="text-gray-500" block mb={1} style={{ textTransform: 'uppercase' }}>Sprint</Text>
|
||||
<Text weight="medium" color="text-white">—</Text>
|
||||
</Surface>
|
||||
<Surface variant="muted" rounded="lg" border padding={3}>
|
||||
<Text size="xs" color="text-gray-500" block mb={1} style={{ textTransform: 'uppercase' }}>Main Race</Text>
|
||||
<Text weight="medium" color="text-white">40 min</Text>
|
||||
</Surface>
|
||||
</Grid>
|
||||
</Stack>
|
||||
</Card>
|
||||
|
||||
{/* Points Table */}
|
||||
<PointsTable points={positionPoints} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user