|
|
@@ -27,7 +27,7 @@ export default function JobsCards(props: JobListProps) { |
|
|
|
const {jobs} = props |
|
|
|
const config = {...defaultProps, ...props} |
|
|
|
return ( |
|
|
|
<Container> |
|
|
|
<Container fluid> |
|
|
|
{jobs.current && ( |
|
|
|
<Row> |
|
|
|
<Col> |
|
|
@@ -35,15 +35,13 @@ export default function JobsCards(props: JobListProps) { |
|
|
|
</Col> |
|
|
|
</Row> |
|
|
|
)} |
|
|
|
{partition(jobs.previous, config.entriesPerRow).map((jobs, index) => ( |
|
|
|
<Row key={index}> |
|
|
|
{(jobs.map((job, subindex) => ( |
|
|
|
<Col key={index + '_' + subindex}> |
|
|
|
<Row> |
|
|
|
{jobs.previous?.map((job, index) => ( |
|
|
|
<Col key={index} xs={12} md={12} lg={6} xl={12}> |
|
|
|
<JobCard {...job} /> |
|
|
|
</Col> |
|
|
|
)))} |
|
|
|
))} |
|
|
|
</Row> |
|
|
|
))} |
|
|
|
</Container> |
|
|
|
) |
|
|
|
} |