Clean mistakes
This commit is contained in:
parent
b2d3f322ec
commit
009760cd33
|
@ -59,16 +59,18 @@ function TournamentListItem(props) {
|
||||||
component="img"
|
component="img"
|
||||||
alt="tournament image"
|
alt="tournament image"
|
||||||
height="140"
|
height="140"
|
||||||
// image="Asura_Rex.png"
|
|
||||||
image="banner2.png"
|
image="banner2.png"
|
||||||
/>
|
/>
|
||||||
<CardContent align="left">
|
<CardContent align="left">
|
||||||
<Typography variant="h3" component="div" align="center">{props.tournament.name} </Typography>
|
<Typography variant="h3" component="div" align="center">{props.tournament.name} </Typography>
|
||||||
<Typography variant="body2"> Start: {props.tournament.startTime.toLocaleString()} </Typography>
|
|
||||||
<Typography variant="body2"> End: {props.tournament.endTime.toLocaleString()} </Typography>
|
<Box component={Stack} direction="column">
|
||||||
|
<Typography variant="body"> Start: {props.tournament.startTime.toLocaleString()} </Typography>
|
||||||
|
<Typography variant="body"> End: {props.tournament.endTime.toLocaleString()} </Typography>
|
||||||
|
</Box>
|
||||||
|
|
||||||
<Typography variant="h5" color="text.primary" gutterBottom> Players {props.tournament.teamCount} / {props.tournament.teamLimit} </Typography>
|
<Typography variant="h5" color="text.primary" gutterBottom> Players {props.tournament.teamCount} / {props.tournament.teamLimit} </Typography>
|
||||||
<Description />
|
<Description />
|
||||||
{/* <Typography variant="h5" color="text.primary" color="text.secondary" onClick={toggleDescription}>{longDescription ? props.tournament.description : (shorten(props.tournament.description, 200))}</Typography> */}
|
|
||||||
|
|
||||||
<Box sx={{flexGrow: 1, marginTop: "20px"}}>
|
<Box sx={{flexGrow: 1, marginTop: "20px"}}>
|
||||||
<Grid container spacing={4} justifyContent="center" wrap="wrap">
|
<Grid container spacing={4} justifyContent="center" wrap="wrap">
|
||||||
|
|
|
@ -125,8 +125,8 @@ function TournamentForm(props) {
|
||||||
</Grid>
|
</Grid>
|
||||||
</Box> */}
|
</Box> */}
|
||||||
<Box>
|
<Box>
|
||||||
<TextField type="datetime-local" InputProps={{ readOnly: true }} id="startDatePicker" label="Start Time" InputLabelProps={{shrink: true}} sx={{width: "48%", marginRight: "2%"}} />
|
<TextField type="datetime-local" id="startDatePicker" label="Start Time" InputLabelProps={{shrink: true}} sx={{width: "48%", marginRight: "2%"}} />
|
||||||
<TextField type="datetime-local" InputProps={{ readOnly: true }} id="endDatePicker" label="End Time" InputLabelProps={{shrink: true}} sx={{width: "48%", marginLeft: "2%"}} />
|
<TextField type="datetime-local" id="endDatePicker" label="End Time" InputLabelProps={{shrink: true}} sx={{width: "48%", marginLeft: "2%"}} />
|
||||||
</Box>
|
</Box>
|
||||||
<InputLabel id="max-teams-label">Maximum number of teams</InputLabel>
|
<InputLabel id="max-teams-label">Maximum number of teams</InputLabel>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue