this basically works
This commit is contained in:
parent
0ca0b34ff0
commit
d89a29ee95
3 changed files with 30 additions and 1 deletions
|
@ -658,6 +658,22 @@
|
||||||
width : 100%;
|
width : 100%;
|
||||||
height : 100%;
|
height : 100%;
|
||||||
|
|
||||||
|
.playlist-hero {
|
||||||
|
width : 100%;
|
||||||
|
transform: translateX(+25%);
|
||||||
|
position: absolute;
|
||||||
|
z-index : -1;
|
||||||
|
top : 0;
|
||||||
|
left : 0;
|
||||||
|
right : 0;
|
||||||
|
bottom : 0;
|
||||||
|
|
||||||
|
.mediaitem-artwork {
|
||||||
|
-webkit-mask-image: -webkit-radial-gradient(center, circle cover, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 75%);
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
>.row {
|
>.row {
|
||||||
width: calc(100% - 32px);
|
width: calc(100% - 32px);
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,7 +178,7 @@
|
||||||
return this.data.attributes?.editorialArtwork?.centeredFullscreenBackground.url
|
return this.data.attributes?.editorialArtwork?.centeredFullscreenBackground.url
|
||||||
} else if(this.data.attributes?.editorialArtwork?.bannerUber) {
|
} else if(this.data.attributes?.editorialArtwork?.bannerUber) {
|
||||||
return this.data.attributes?.editorialArtwork?.bannerUber.url
|
return this.data.attributes?.editorialArtwork?.bannerUber.url
|
||||||
}else if(this.data.attributes?.editorialArtwork?.subscriptionHero){
|
} else if(this.data.attributes?.editorialArtwork?.subscriptionHero){
|
||||||
return this.data.attributes?.editorialArtwork?.subscriptionHero.url
|
return this.data.attributes?.editorialArtwork?.subscriptionHero.url
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
<div class="playlist-display"
|
<div class="playlist-display"
|
||||||
@mouseover.self="minClass(false)">
|
@mouseover.self="minClass(false)">
|
||||||
<div class="playlistInfo">
|
<div class="playlistInfo">
|
||||||
|
<div class="playlist-hero" v-if="hasHero()">
|
||||||
|
<mediaitem-artwork shadow="none" :url="hasHero()" size="2048" />
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-auto flex-center" @mouseover="minClass(false)">
|
<div class="col-auto flex-center" @mouseover="minClass(false)">
|
||||||
<div class="mediaContainer">
|
<div class="mediaContainer">
|
||||||
|
@ -364,6 +367,16 @@
|
||||||
isHeaderVisible(visible) {
|
isHeaderVisible(visible) {
|
||||||
this.headerVisible = visible
|
this.headerVisible = visible
|
||||||
},
|
},
|
||||||
|
hasHero() {
|
||||||
|
if(this.data.attributes?.editorialArtwork?.bannerUber){
|
||||||
|
return this.data.attributes?.editorialArtwork?.bannerUber.url
|
||||||
|
} else if(this.data.attributes?.editorialArtwork?.subscriptionHero) {
|
||||||
|
return this.data.attributes?.editorialArtwork?.subscriptionHero.url
|
||||||
|
} else if(this.data.attributes?.editorialArtwork?.storeFlowcase){
|
||||||
|
return this.data.attributes?.editorialArtwork?.storeFlowcase.url
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
},
|
||||||
getBadges() {
|
getBadges() {
|
||||||
return
|
return
|
||||||
if (this.badgesRequested) {
|
if (this.badgesRequested) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue