search improvements, fix for artist pages without color palettes

This commit is contained in:
booploops 2021-12-07 00:41:27 -08:00
parent 98bc2d60e9
commit 5508f43aad
4 changed files with 115 additions and 92 deletions

View file

@ -1,9 +1,6 @@
<template v-if="page == 'artist-page' && artistPage.data.attributes">
<div class="content-inner artist-page">
<div class="artist-header" :style="{
'background': '#' + artistPage.data.attributes.artwork.bgColor,
'color': '#' + artistPage.data.attributes.artwork.textColor1
}">
<div class="artist-header" :style="getArtistPalette(artistPage.data)">
<div class="row">
<div class="col-sm" style="width: auto;">
<div class="artist-image">