Improve album artwork, loading animation
This commit is contained in:
parent
c56e66e12b
commit
195e116670
4 changed files with 55 additions and 11 deletions
|
@ -31,7 +31,9 @@ var RecentItem = React.createClass({
|
|||
}
|
||||
return (
|
||||
<div className="col-sm-4 col-xs-6">
|
||||
<Link to="share" params={this.props.item}><img src={this.props.item.artwork.small} width="100%" /></Link>
|
||||
<Link to="share" params={this.props.item}>
|
||||
<div className="artwork" style={{backgroundImage: "url("+this.props.item.artwork.small+")"}}></div>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue