Full-width parallax, may need to introduce full-colour artist images

This commit is contained in:
James Barnsley
2019-08-20 21:17:06 +12:00
parent f6e227f85c
commit b0c18b83aa
19 changed files with 200 additions and 150 deletions

View File

@ -64,7 +64,7 @@ class DiscoverFeatured extends React.Component{
render(){
if (helpers.isLoading(this.props.load_queue,['spotify_browse/featured-playlists'])){
return (
<div className="view discover-featured-view">
<div className="view discover-featured-view preserve-3d">
<Header className="overlay" uiActions={this.props.uiActions}>
<Icon name="star" type="material" />
Featured playlists
@ -101,7 +101,7 @@ class DiscoverFeatured extends React.Component{
<Icon name="star" type="material" />
Featured playlists
</Header>
{this.renderIntro(this.props.theme == 'dark' ? first_playlist : null)}
{this.renderIntro(first_playlist)}
<section className="content-wrapper grid-wrapper">
{playlists ? <PlaylistGrid playlists={playlists} /> : null }
</section>

View File

@ -114,7 +114,7 @@ class DiscoverNewReleases extends React.Component{
<Icon name="new_releases" type="material" />
New releases
</Header>
{this.renderIntro(this.props.theme == 'dark' ? first_album : null)}
{this.renderIntro(first_album)}
<section className="content-wrapper grid-wrapper">
<AlbumGrid albums={albums} />
</section>