fix: artist hero — large square pfp on left, brighter background
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
64aec78a43
commit
0ac7fc5383
2 files changed
+8
-12
No files matched your search
@@ -77,7 +77,6 @@ export async function loadArtistDetail(artist) {
|
||||
const pfpInitial = document.getElementById('artist-hero-pfp-initial');
|
||||
if(pfpInitial) pfpInitial.textContent = artist.name?.[0]?.toUpperCase() || '?';
|
||||
const overlay = hero.querySelector('.artist-hero-overlay');
|
||||
if(overlay) overlay.style.background = '';
|
||||
[bioEl, simEl, tsEl, albEl].forEach(el => { if(el) el.innerHTML = ''; });
|
||||
if(albEl) albEl.innerHTML = '<div class="spinner"></div>';
|
||||
|
||||
@@ -119,7 +118,6 @@ export async function loadArtistDetail(artist) {
|
||||
hero.style.background = '';
|
||||
const bgEl = document.getElementById('artist-hero-bg');
|
||||
if(bgEl) bgEl.style.backgroundImage = `url('${_bgCover || img}')`;
|
||||
if(overlay) overlay.style.background = 'linear-gradient(to top,rgba(7,7,15,.92) 0%,rgba(7,7,15,.35) 100%)';
|
||||
}
|
||||
if(img) {
|
||||
const pfpWrap = document.getElementById('artist-hero-pfp-wrap');
|
||||
|
||||
Reference in new issue
Block a user