import React from 'react';

export default class ResourceIndexItem extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    const {
      organization,
      phone,
      email,
      website,
      region,
      description,
      address,
    } = this.props.resource;

    return (
      <div>
        <a href={website}><h3>{organization}</h3></a>
        <p>{description}</p>
        <p>Contact: </p>
        <p><span className="glyphicon glyphicon-earphone"></span>   Phone: {phone}</p>
        <p>  Address: {address}</p>
      </div>
    )
  }
}

import React from 'react';

export default class ResourceIndexItem extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    const {
      organization,
      phone,
      email,
      website,
      region,
      description,
      address,
    } = this.props.resource;

    return (
      <div>
        <a href={website} target="_blank"><h3>{organization}</h3></a>
        <p>{description}</p>
        <p>Contact: </p>
        <p><span className="glyphicon glyphicon-earphone"></span>   Phone: {phone}</p>
        <p>  Address: {address}</p>
      </div>
    )
  }
}

Add target=_blank to a tags to open link in new window
Add target=_blank to a tags to open link in new window
