Album: Song 4 "Beim Friseur" ergänzt
Vierter Suno-Pro-Song (Hundesalon/Sommerfell, md5 091acf6d) ans Album-Modal gehängt: neue MP3 + SONGS-Array-Zeile; Banner-/Modal-Anzahl jetzt dynamisch (_anthem.count) statt hartkodiert "3 Songs".
This commit is contained in:
parent
3107bebe20
commit
793dccf7df
7 changed files with 23 additions and 22 deletions
|
|
@ -1942,9 +1942,10 @@ window.Worlds = (() => {
|
|||
const _anthem = (() => {
|
||||
const KEY = 'by_anthem_heard';
|
||||
const SONGS = [
|
||||
{ title: 'Ban Yaro Blues', sub: 'Die Hymne', file: '/sounds/ban-yaro-blues.mp3?v=2' },
|
||||
{ title: 'Ban Yaro Mobil', sub: 'Erste Fahrt im Anhänger', file: '/sounds/ban-yaro-mobil.mp3' },
|
||||
{ title: 'Amy', sub: 'Eine Liebesromanze', file: '/sounds/amy.mp3' },
|
||||
{ title: 'Ban Yaro Blues', sub: 'Die Hymne', file: '/sounds/ban-yaro-blues.mp3?v=2' },
|
||||
{ title: 'Ban Yaro Mobil', sub: 'Erste Fahrt im Anhänger', file: '/sounds/ban-yaro-mobil.mp3' },
|
||||
{ title: 'Amy', sub: 'Eine Liebesromanze', file: '/sounds/amy.mp3' },
|
||||
{ title: 'Beim Friseur', sub: 'Halbes Fell, Energie pur', file: '/sounds/beim-friseur.mp3' },
|
||||
];
|
||||
let _bound = false, _curIdx = -1;
|
||||
const _audio = () => document.getElementById('anthem-audio');
|
||||
|
|
@ -2057,7 +2058,7 @@ window.Worlds = (() => {
|
|||
updateButton();
|
||||
}
|
||||
|
||||
return { heard, toggle: openAlbum, updateButton, initWelt };
|
||||
return { heard, toggle: openAlbum, updateButton, initWelt, count: SONGS.length };
|
||||
})();
|
||||
|
||||
function _renderWelt() {
|
||||
|
|
@ -2095,7 +2096,7 @@ window.Worlds = (() => {
|
|||
</div>
|
||||
<div style="flex:1;min-width:0">
|
||||
<div style="font-size:var(--text-sm);font-weight:600;color:#fff">Ban Yaro — das Album</div>
|
||||
<div style="font-size:11px;color:rgba(255,255,255,0.45);margin-top:2px">3 Songs · zum Anhören</div>
|
||||
<div style="font-size:11px;color:rgba(255,255,255,0.45);margin-top:2px">${_anthem.count} Songs · zum Anhören</div>
|
||||
</div>
|
||||
<svg class="ph-icon" style="width:15px;height:15px;color:rgba(255,255,255,0.3);flex-shrink:0" aria-hidden="true"><use href="/icons/phosphor.svg#caret-right"></use></svg>
|
||||
</div>`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue