Add tags to job accordion
This commit is contained in:
parent
8d415bb3c7
commit
0d1e962999
@ -3,6 +3,7 @@ import React from 'react';
|
||||
import { Job } from '@/PersonalDataTypes';
|
||||
import { Accordion, Row } from 'react-bootstrap';
|
||||
import { JobListProps } from './types';
|
||||
import JobTags from './JobTags';
|
||||
|
||||
|
||||
export type Props = {
|
||||
@ -33,7 +34,8 @@ export default function JobsAccordion(props: JobListProps) {
|
||||
<Accordion.Item eventKey="current">
|
||||
<Accordion.Header><JobTitle heading={config.currentHeading} job={jobs.current} /> </Accordion.Header>
|
||||
<Accordion.Body>
|
||||
{jobs.current.position}
|
||||
{jobs.current.description}
|
||||
{jobs.current.tags && <JobTags tags={jobs.current.tags} />}
|
||||
</Accordion.Body>
|
||||
</Accordion.Item>
|
||||
)}
|
||||
@ -42,6 +44,7 @@ export default function JobsAccordion(props: JobListProps) {
|
||||
<Accordion.Header><JobTitle job={job} /></Accordion.Header>
|
||||
<Accordion.Body className='multiline'>
|
||||
{job.description}
|
||||
{job.tags && <JobTags tags={job.tags} />}
|
||||
</Accordion.Body>
|
||||
</Accordion.Item>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user