Light interface

This commit is contained in:
James Barnsley
2018-08-27 08:21:41 +12:00
parent ce59cedfbd
commit 9d7ed8efdf
33 changed files with 11290 additions and 14411 deletions

View File

@ -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

View File

@ -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,

View File

@ -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,