import React from 'react'; import Card from 'react-bootstrap/Card'; import { Placeholder } from 'react-bootstrap'; import JobTags from './JobTags'; import { Job } from '@/PersonalDataTypes'; import md from '../Markdown'; export type Props = Job & { heading?: string }; export function JobCardPlaceholder() { return {' '} } export default function JobCard(props: Props) { return ( {props.heading && ( {props.heading} )} {props.position} {props.company && {props.company}} {props.company && props.timerange && , } {props.timerange && {props.timerange}} {md(props.description)} {props.tags && } ); }