Dejvino's Curriculum Vitae
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
799 B

  1. import React from 'react';
  2. import Card from 'react-bootstrap/Card';
  3. export type Props = {
  4. heading?: string,
  5. position: string,
  6. timerange: string,
  7. company: string,
  8. description: string
  9. };
  10. export default function JobCard(props: Props) {
  11. return (
  12. <Card className='job-card'>
  13. {props.heading && (
  14. <Card.Header>{props.heading}</Card.Header>
  15. )}
  16. <Card.Body>
  17. <Card.Title>{props.position}</Card.Title>
  18. <Card.Subtitle>
  19. <span className='company-name'>{props.company}</span>, <span className='timerange'>{props.timerange}</span>
  20. </Card.Subtitle>
  21. <Card.Text>{props.description}</Card.Text>
  22. </Card.Body>
  23. </Card>
  24. );
  25. }