Light interface
This commit is contained in:
@ -47,7 +47,7 @@ class DiscoverFeatured extends React.Component{
|
||||
if (playlist){
|
||||
return (
|
||||
<div className="intro">
|
||||
<Parallax image={helpers.sizedImages(playlist.images).huge} blur />
|
||||
<Parallax image={helpers.sizedImages(playlist.images).huge} blur theme={this.props.theme} />
|
||||
<div className="content cf">
|
||||
<Link
|
||||
to={global.baseURL+'playlist/'+playlist.uri}
|
||||
@ -134,6 +134,7 @@ class DiscoverFeatured extends React.Component{
|
||||
|
||||
const mapStateToProps = (state, ownProps) => {
|
||||
return {
|
||||
theme: state.ui.theme,
|
||||
load_queue: state.ui.load_queue,
|
||||
featured_playlists: state.spotify.featured_playlists,
|
||||
playlists: state.core.playlists
|
||||
|
||||
@ -61,7 +61,7 @@ class DiscoverNewReleases extends React.Component{
|
||||
if (album){
|
||||
return (
|
||||
<div className="intro">
|
||||
<Parallax image={helpers.sizedImages(album.images).huge} blur />
|
||||
<Parallax image={helpers.sizedImages(album.images).huge} blur theme={this.props.theme} />
|
||||
<div className="content cf">
|
||||
<Link
|
||||
to={global.baseURL+'album/'+album.uri}
|
||||
@ -153,6 +153,7 @@ class DiscoverNewReleases extends React.Component{
|
||||
|
||||
const mapStateToProps = (state, ownProps) => {
|
||||
return {
|
||||
theme: state.ui.theme,
|
||||
load_queue: state.ui.load_queue,
|
||||
albums: state.core.albums,
|
||||
new_releases: state.core.new_releases,
|
||||
|
||||
@ -501,7 +501,7 @@ class Discover extends React.Component{
|
||||
<div className="view discover-view">
|
||||
<div className="intro">
|
||||
|
||||
<Parallax image="assets/backgrounds/discover.jpg" />
|
||||
<Parallax image="assets/backgrounds/discover.jpg" theme={this.props.theme} />
|
||||
|
||||
<div className="liner">
|
||||
<h1>Explore new music</h1>
|
||||
@ -545,6 +545,7 @@ class Discover extends React.Component{
|
||||
|
||||
const mapStateToProps = (state, ownProps) => {
|
||||
return {
|
||||
theme: state.ui.theme,
|
||||
albums: state.core.albums,
|
||||
artists: state.core.artists,
|
||||
tracks: state.core.tracks,
|
||||
|
||||
Reference in New Issue
Block a user