astronaut_n_friends.png: fix src and caching
1. Hardcoding breaks any image changes done on dev instances or locally. 2. The relative path is bad, and there are few more instances of it. But continue as is for now, will file a ticket to fix this. 3. Fix caching.
This commit is contained in:
parent
38d3fa1186
commit
178b0d751d
3 changed files with 3 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
||||||
$minWidth: calc(var(--file-list-thumbnail-width) * 0.8);
|
$minWidth: calc(var(--file-list-thumbnail-width) * 0.8);
|
||||||
min-width: $minWidth;
|
min-width: $minWidth;
|
||||||
background-color: #283263;
|
background-color: #283263;
|
||||||
background-image: url('https://odysee.com/public/img/astronaut_n_friends.png');
|
background-image: url('../../ui/component/membershipSplash/astronaut_n_friends.png'); // TODO fix relative path for all url('')
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
box-shadow: 0 0 0 1px rgba(var(--color-primary-dynamic), 0.1) inset;
|
box-shadow: 0 0 0 1px rgba(var(--color-primary-dynamic), 0.1) inset;
|
||||||
|
|
|
@ -450,7 +450,7 @@
|
||||||
.claim-preview--premium-plus {
|
.claim-preview--premium-plus {
|
||||||
.media__thumb {
|
.media__thumb {
|
||||||
background-color: #283263;
|
background-color: #283263;
|
||||||
background-image: url('https://odysee.com/public/img/astronaut_n_friends.png');
|
background-image: url('../../ui/component/membershipSplash/astronaut_n_friends.png'); // TODO fix relative path for all url('')
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ const STATIC_ASSET_PATHS = [
|
||||||
'/public/font/v1/700i.woff',
|
'/public/font/v1/700i.woff',
|
||||||
'/public/favicon.png', // LBRY icon
|
'/public/favicon.png', // LBRY icon
|
||||||
'/public/favicon-spaceman.png',
|
'/public/favicon-spaceman.png',
|
||||||
|
'/public/img/astronaut_n_friends.png',
|
||||||
'/public/img/busy.gif',
|
'/public/img/busy.gif',
|
||||||
'/public/img/fileRenderPlaceholder.png',
|
'/public/img/fileRenderPlaceholder.png',
|
||||||
'/public/img/gerbil-happy.png',
|
'/public/img/gerbil-happy.png',
|
||||||
|
|
Loading…
Reference in a new issue