Artist grid

This commit is contained in:
James Barnsley
2017-07-24 17:57:44 +12:00
parent 6066d229f0
commit a627692d16
3 changed files with 5 additions and 4 deletions

View File

@ -142,6 +142,7 @@ class Artist extends React.Component{
<div className="body about">
<div className="col w40 tiles">
{this.props.artist.images ? <div className="tile thumbnail-wrapper"><Thumbnail size="huge" canZoom images={this.props.artist.images} /></div> : null}
{this.props.artist.images_additional ? <div className="tile thumbnail-wrapper"><Thumbnail size="huge" canZoom images={this.props.artist.images_additional} /></div> : null}
{this.props.artist.followers ? <div className="tile"><span className="text"><FontAwesome name="users" />{this.props.artist.followers.total.toLocaleString() } followers</span></div> : null}
{this.props.artist.popularity ? <div className="tile"><span className="text"><FontAwesome name="fire" />{this.props.artist.popularity }% popularity</span></div> : null}