Skip to content

Commit

Permalink
Code Clean: Job Board Date Grid
Browse files Browse the repository at this point in the history
  • Loading branch information
YellouMeli committed Aug 3, 2024
1 parent 8aacd26 commit 9a85675
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/components/JobCard/JobCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,11 @@ const JobCard: FC<JobCardProps> = ({ job }) => {
))}
</Stack>
</Grid>
<Grid item xs={12} sm={12} md={2} sx={{ order: { xs: -1, sm: -1, md:0 }, alignSelf: { sm: 'flex-start' } }} display="flex">
<Grid container spacing={1} justifyContent="right">
<Grid item>
<AccessTimeIcon />
</Grid>
<Grid item>
<Typography fontSize="body2">
{ job.publicationDate }
</Typography>
</Grid>
</Grid>
<Grid item xs={12} sm={12} md={2} paddingRight={2} sx={{ order: { xs: -1, sm: -1, md: 0 }, alignSelf: { sm: 'flex-start' } }} display="flex" alignItems="center" justifyContent="right">
<AccessTimeIcon sx={{ marginRight: 2 }} />
<Typography fontSize="body2">
{ job.publicationDate }
</Typography>
</Grid>
<Grid container spacing={1} justifyContent="right">
<Grid item>
Expand Down

0 comments on commit 9a85675

Please sign in to comment.