chore: remove dummy text and improve empty states
Sidebar: - Remove placeholder playlists (My Playlist 1/2/3) - Keep only Favorites under Playlists section NowPlayingBar: - Remove hardcoded placeholder values (Irreplaceable, etc.) - Add empty state when no track is playing - Fix remaining time to be dynamic (duration - currentTime) - Add artwork placeholder when image is missing - Handle quality dots visibility properly
This commit is contained in:
1 parent
62e59f599a
commit
2399f34103
2 files changed
+64
-48
No files matched your search
@@ -116,32 +116,11 @@
|
||||
</button>
|
||||
|
||||
<NavigationItem
|
||||
label="All Playlists"
|
||||
active={activeView === 'all-playlists'}
|
||||
onclick={() => handleViewChange('all-playlists')}
|
||||
label="Favorites"
|
||||
active={activeView === 'favorites'}
|
||||
onclick={() => handleViewChange('favorites')}
|
||||
>
|
||||
{#snippet icon()}<Music size={18} />{/snippet}
|
||||
</NavigationItem>
|
||||
<NavigationItem
|
||||
label="My Playlist 1"
|
||||
active={activeView === 'playlist-1'}
|
||||
onclick={() => handleViewChange('playlist-1')}
|
||||
>
|
||||
{#snippet icon()}<Music size={18} />{/snippet}
|
||||
</NavigationItem>
|
||||
<NavigationItem
|
||||
label="My Playlist 2"
|
||||
active={activeView === 'playlist-2'}
|
||||
onclick={() => handleViewChange('playlist-2')}
|
||||
>
|
||||
{#snippet icon()}<Music size={18} />{/snippet}
|
||||
</NavigationItem>
|
||||
<NavigationItem
|
||||
label="My Playlist 3"
|
||||
active={activeView === 'playlist-3'}
|
||||
onclick={() => handleViewChange('playlist-3')}
|
||||
>
|
||||
{#snippet icon()}<Music size={18} />{/snippet}
|
||||
{#snippet icon()}<Heart size={18} />{/snippet}
|
||||
</NavigationItem>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user