2016-08-03 15:44:29 +02:00
|
|
|
import React, { Component } from "react";
|
|
|
|
import CSSModules from "react-css-modules";
|
2016-08-04 15:28:07 +02:00
|
|
|
import FontAwesome from "react-fontawesome";
|
2016-08-03 15:44:29 +02:00
|
|
|
|
|
|
|
import css from "../styles/Discover.scss";
|
|
|
|
|
|
|
|
export default class DiscoverCSS extends Component {
|
|
|
|
render () {
|
|
|
|
const artistsAlbumsSongsDropdown = (
|
|
|
|
<div className="btn-group">
|
|
|
|
<button type="button" className="btn btn-default dropdown-toggle" styleName="h2Title" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<span styleName="dashedUnderline">albums</span>
|
|
|
|
<span className="caret" styleName="caret"></span>
|
|
|
|
</button>
|
|
|
|
<ul className="dropdown-menu" styleName="dropdown-menu">
|
|
|
|
<li><a href="#" role="button">artists</a></li>
|
|
|
|
<li className="active"><a href="#" role="button">albums</a></li>
|
|
|
|
<li><a href="#" role="button">songs</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
const bobDylan = (
|
|
|
|
<div className="col-xs-4 col-sm-2">
|
|
|
|
<div className="text-center">
|
|
|
|
<a title="Aller à la page de l'artiste" href="#/artist/15">
|
|
|
|
<img src="" width="200" height="200" className="img-responsive img-circle art" alt="Bob Dylan"/>
|
|
|
|
</a>
|
|
|
|
<h4>
|
|
|
|
Bob Dylan
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
return (
|
|
|
|
<div className="row">
|
|
|
|
<h2 styleName="noMarginTop">
|
2016-08-04 15:28:07 +02:00
|
|
|
<FontAwesome name="heart" aria-hidden="true" />
|
2016-08-03 15:44:29 +02:00
|
|
|
More { artistsAlbumsSongsDropdown } you might like
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<div className="col-xs-12">
|
|
|
|
<div className="row">
|
|
|
|
<div className="col-xs-4 col-sm-2 col-sm-offset-1">
|
|
|
|
<div className="text-center">
|
|
|
|
<a title="Aller à la page de l'artiste" href="#/artist/15">
|
|
|
|
<img src="" width="200" height="200" className="img-responsive img-circle art" alt="Bob Dylan"/>
|
|
|
|
</a>
|
|
|
|
<h4>
|
|
|
|
Bob Dylan
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>
|
2016-08-04 15:28:07 +02:00
|
|
|
<FontAwesome name="thumbs-up" aria-hidden="true"/>
|
2016-08-03 15:44:29 +02:00
|
|
|
Popular { artistsAlbumsSongsDropdown }
|
|
|
|
</h2>
|
|
|
|
<div className="col-xs-12">
|
|
|
|
<div className="row">
|
|
|
|
<div className="col-xs-4 col-sm-2 col-sm-offset-1">
|
|
|
|
<div className="text-center">
|
|
|
|
<a title="Aller à la page de l'artiste" href="#/artist/15">
|
|
|
|
<img src="" width="200" height="200" className="img-responsive img-circle art" alt="Bob Dylan"/>
|
|
|
|
</a>
|
|
|
|
<h4>
|
|
|
|
Bob Dylan
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>
|
2016-08-04 15:28:07 +02:00
|
|
|
<FontAwesome name="plus-square" aria-hidden="true" />
|
2016-08-03 15:44:29 +02:00
|
|
|
Recent additions
|
|
|
|
</h2>
|
|
|
|
<div className="col-xs-12">
|
|
|
|
<div className="row">
|
|
|
|
<div className="col-xs-4 col-sm-2 col-sm-offset-1">
|
|
|
|
<div className="text-center">
|
|
|
|
<a title="Aller à la page de l'artiste" href="#/artist/15">
|
|
|
|
<img src="" width="200" height="200" className="img-responsive img-circle art" alt="Bob Dylan"/>
|
|
|
|
</a>
|
|
|
|
<h4>
|
|
|
|
Bob Dylan
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
{ bobDylan }
|
|
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>
|
2016-08-04 15:28:07 +02:00
|
|
|
<FontAwesome name="volume-up" aria-hidden="true" />
|
2016-08-03 15:44:29 +02:00
|
|
|
Currently playing
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
DiscoverCSS.propTypes = {
|
|
|
|
};
|
|
|
|
|
|
|
|
export default CSSModules(DiscoverCSS, css);
|