text: import React from 'react';
  import PropTypes from 'prop-types';
  import Img from 'gatsby-image';
  import { Title, Copy, Landing } from './p1.css';
  
  const Item = ({ title, copy, image }) => (
    <Landing>
      <Img fluid={image ? image.childImageSharp.fluid : {}} alt={title} />
      <figcaption>
        <Title>{title}</Title>
        <Copy>{copy}</Copy>
      </figcaption>
  
    </Landing>
  );
  
  Item.propTypes = {
    title: PropTypes.string,
    copy: PropTypes.string,
    image: PropTypes.object.isRequired,
  };
  
  export default Item;
  