feat: show newest albums first on home screen, recently played below
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
70fd299637
commit
1a44f8bd73
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -136,12 +136,12 @@
|
||||
<div id="home-hero" class="home-hero"></div>
|
||||
<div class="section-header" style="margin-top:20px"><span class="section-title">Genres</span><span class="section-more" id="home-genres-more" onclick="toggleAllGenres()" style="display:none">Alle anzeigen</span></div>
|
||||
<div id="home-genres" class="genre-grid"></div>
|
||||
<div class="section-header" style="margin-top:20px"><span class="section-title">Zuletzt gespielt</span></div>
|
||||
<div class="section-header" style="margin-top:20px"><span class="section-title">Neueste Alben</span><span class="section-more" onclick="navigate('albums')">Mehr</span></div>
|
||||
<div class="scroll-row" id="home-newest"></div>
|
||||
<div class="section-header"><span class="section-title">Zuletzt gespielt</span></div>
|
||||
<div class="scroll-row" id="home-recent"></div>
|
||||
<div class="section-header"><span class="section-title">Zufällig</span><span class="section-more" onclick="navigate('random')">Mehr</span></div>
|
||||
<div class="scroll-row" id="home-random"></div>
|
||||
<div class="section-header"><span class="section-title">Neueste Alben</span><span class="section-more" onclick="navigate('albums')">Mehr</span></div>
|
||||
<div class="scroll-row" id="home-newest"></div>
|
||||
<div class="section-header"><span class="section-title">Häufig gespielt</span></div>
|
||||
<div class="scroll-row" id="home-frequent"></div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -112,9 +112,9 @@ export async function loadHomeData() {
|
||||
|
||||
loadHeroCard();
|
||||
loadGenreSection();
|
||||
loadAlbumRow('home-newest', 'getAlbumList2', '&type=newest&size=20');
|
||||
loadAlbumRow('home-recent', 'getAlbumList2', '&type=recent&size=20');
|
||||
loadAlbumRow('home-random', 'getAlbumList2', '&type=random&size=20');
|
||||
loadAlbumRow('home-newest', 'getAlbumList2', '&type=newest&size=20');
|
||||
loadAlbumRow('home-frequent', 'getAlbumList2', '&type=frequent&size=20');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user