Enjambre Discografia -

// construcción de cards let html = ''; for (let album of filteredData) { // tipo legible let typeLabel = ''; let typeIcon = ''; if (album.type === 'estudio') { typeLabel = 'Álbum de estudio'; typeIcon = '🎙️'; } else if (album.type === 'ep') { typeLabel = 'EP / Extended Play'; typeIcon = '💿'; } else if (album.type === 'live') { typeLabel = 'En vivo / Concierto'; typeIcon = '🎤'; }

// pequeño helper para evitar XSS function escapeHtml(str) { return str.replace(/[&<>]/g, function(m) { if (m === '&') return '&'; if (m === '<') return '<'; if (m === '>') return '>'; return m; }).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, function(c) { return c; }); } enjambre discografia

// evento búsqueda searchInput.addEventListener('input', onSearchInput); // construcción de cards let html = '';

/* header hero */ .hero { background: #1a1612; color: #f0e5d8; padding: 3rem 2rem 3rem 2rem; text-align: center; border-bottom: 6px solid #e3b87c; box-shadow: 0 10px 20px rgba(0,0,0,0.1); } .hero h1 { font-size: 3.8rem; letter-spacing: -1px; font-weight: 700; background: linear-gradient(135deg, #ffe6c7, #e3b87c); background-clip: text; -webkit-background-clip: text; color: transparent; text-shadow: 2px 2px 8px rgba(0,0,0,0.2); } .hero p { font-size: 1.2rem; margin-top: 0.8rem; opacity: 0.85; max-width: 650px; margin-left: auto; margin-right: auto; } .hero i { color: #e3b87c; margin: 0 4px; } let typeIcon = ''

<div class="hero"> <h1><i class="fas fa-dove"></i> ENJAMBRE <i class="fas fa-guitar"></i></h1> <p>Discografía completa · Estudio, EPs, En vivo · <i class="fas fa-head-side-vr"></i> legado sonoro mexicano</p> </div>

<footer> <i class="fas fa-crown"></i> Enjambre · discografía esencial 2006–2024 · hecha con <i class="fas fa-heart" style="color:#b47c48;"></i> para los seguidores </footer>