content: /**
   *
   *
   */
  import React from 'react'
  
  import ProgressBar from './progressbar'
  
  const Project = ({ _id, end, progress, start, summary, title, type, updated }) => (
      <div className="project">
          <h6>{ title }</h6>
          <ProgressBar progress={ progress } />
          <div>
  			Duration w{ start } - w{ end }, { duration(start, end) } weeks
  		</div>
  		<div className="summary">{ summary }</div>
      </div>
  )
  
  const duration = (start, end) => (
      parseInt(end) - parseInt(start)
  )
  
  export default Project
  