website refactor
This commit is contained in:
@@ -95,7 +95,7 @@ export function LeagueAdminScheduleTemplate({
|
||||
|
||||
<Stack direction="row" align="center" justify="between">
|
||||
<Text size="sm" color="text-gray-300">
|
||||
Status: <Text weight="medium" color="text-white">{publishedLabel}</Text>
|
||||
Status: <Text weight="medium" color="white">{publishedLabel}</Text>
|
||||
</Text>
|
||||
<Button
|
||||
onClick={onPublishToggle}
|
||||
@@ -107,12 +107,12 @@ export function LeagueAdminScheduleTemplate({
|
||||
</Button>
|
||||
</Stack>
|
||||
|
||||
<Box pt={6} borderTop="1px solid" borderColor="border-neutral-800">
|
||||
<Box pt={6} borderTop borderColor="rgba(255,255,255,0.1)">
|
||||
<Box mb={4}>
|
||||
<Heading level={2}>{isEditing ? 'Edit race' : 'Add race'}</Heading>
|
||||
</Box>
|
||||
|
||||
<Grid cols={3} gap={4}>
|
||||
<Grid responsiveGridCols={{ base: 1, md: 3 }} gap={4}>
|
||||
<Box>
|
||||
<Text size="sm" color="text-gray-300" block mb={2}>Track</Text>
|
||||
<Input
|
||||
@@ -161,7 +161,7 @@ export function LeagueAdminScheduleTemplate({
|
||||
</Stack>
|
||||
</Box>
|
||||
|
||||
<Box pt={6} borderTop="1px solid" borderColor="border-neutral-800">
|
||||
<Box pt={6} borderTop borderColor="rgba(255,255,255,0.1)">
|
||||
<Box mb={4}>
|
||||
<Heading level={2}>Races</Heading>
|
||||
</Box>
|
||||
@@ -178,7 +178,7 @@ export function LeagueAdminScheduleTemplate({
|
||||
>
|
||||
<Stack direction="row" align="center" justify="between">
|
||||
<Box>
|
||||
<Text weight="medium" color="text-white" block>{race.name}</Text>
|
||||
<Text weight="medium" color="white" block>{race.name}</Text>
|
||||
<Text size="xs" color="text-gray-400" block mt={1}>{race.scheduledAt}</Text>
|
||||
</Box>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user