Skip to content

Commit

Permalink
Merge pull request #9 from caseypt/feature/ebird-link
Browse files Browse the repository at this point in the history
Add link to hotspot on eBird.org
  • Loading branch information
Casey Thomas authored Jun 29, 2016
2 parents 3c874df + b9544db commit d8898ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/components/SightingsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ export default class SightingsList extends Component {
<div>
<Link to="/hotspots" onClick={this.setHotspotId}>&larr; Back to hotspot list</Link>
<h3>{title}</h3>
<h5>
<a href={`http://ebird.org/ebird/hotspot/${this.props.params.hotspotId}`} target="_blank">
View on eBird
</a>
</h5>
{content}
</div>
);
Expand Down

0 comments on commit d8898ef

Please sign in to comment.