content: import React from 'react'
  import PropTypes from 'prop-types'
  import { join, map } from 'lodash'
  import { sliding } from 'utils/lists'
  import ResourcePair from './ResourcePair'
  
  Resources.propTypes = {
    resources: PropTypes.arrayOf(PropTypes.shape({
      logo: PropTypes.string.isRequired,
      link: PropTypes.string.isRequired,
      description: PropTypes.string.isRequired,
    })).isRequired,
  }
  
  const createKey = resourcePair => join(map(resourcePair, 'link'))
  
  function Resources({ resources }) {
    return (
      <div>
        {
          sliding(resources, 2).map(pair => (
            <ResourcePair resources={pair} key={createKey(pair)} />
          ))
        }
      </div>
    )
  }
  
  export default Resources
  