Merge pull request #14 from Ryderjj89/dev

Changing card actions to grid
This commit is contained in:
Joshua Ryder
2025-06-04 18:06:55 -04:00
committed by GitHub

View File

@@ -170,8 +170,9 @@ const EventList: React.FC = () => {
)} )}
</CardContent> </CardContent>
<CardActions sx={{ justifyContent: 'space-between', px: 3, pb: 2 }}> <CardActions sx={{ justifyContent: 'space-between', px: 3, pb: 2 }}>
<Stack direction="row" spacing={1} flexWrap="wrap" alignItems="flex-start"> <Grid container spacing={1} alignItems="flex-start">
{isEventOpen(event) && ( {isEventOpen(event) && (
<Grid item>
<Button <Button
size="small" size="small"
startIcon={<HowToRegIcon />} startIcon={<HowToRegIcon />}
@@ -179,7 +180,9 @@ const EventList: React.FC = () => {
> >
Submit RSVP Submit RSVP
</Button> </Button>
</Grid>
)} )}
<Grid item>
<Button <Button
size="small" size="small"
startIcon={<VisibilityIcon />} startIcon={<VisibilityIcon />}
@@ -187,6 +190,8 @@ const EventList: React.FC = () => {
> >
View RSVPs View RSVPs
</Button> </Button>
</Grid>
<Grid item>
<Button <Button
size="small" size="small"
startIcon={<ContentCopyIcon />} startIcon={<ContentCopyIcon />}
@@ -194,7 +199,8 @@ const EventList: React.FC = () => {
> >
Copy RSVP Link Copy RSVP Link
</Button> </Button>
</Stack> </Grid>
</Grid>
<Button <Button
size="small" size="small"
startIcon={<AdminPanelSettingsIcon />} startIcon={<AdminPanelSettingsIcon />}