content: import React, { Component } from 'react';
  import s from './Investors.css';
  import Link from '../../components/Link';
  
  
  class MaintenanceCard extends Component {
    constructor(props) {
      super(props);
      this.state = {
  
      };
    }
  
    render() {
      let imgUrl = 'http://ec2-52-32-92-71.us-west-2.compute.amazonaws.com/uploads/' + this.props.maintenance.FileName;
      let styles = {
        image_container: {
          backgroundImage: 'url(' + imgUrl + ')'
        }
      }
  
      return (
  
        <div className="col-md-4">
          <div className={s.card}>
          <Link to={`/investor/${ this.props.maintenance.WorkOrder }`} className={s.link}>
            <div className={s.card_image_container} style={styles.image_container}></div>
            </Link>
            <div className="card-block">
              <div className={s.inline}>
                <p className="card-text">Description: {this.props.maintenance.Maintenance}</p>
              </div>
            </div>
          </div>
        </div>
      );
    }
  }
  
  export default MaintenanceCard;
  