feat(songs): show icon on currently playing song in list
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
// import { AudioLines } from 'lucide-svelte';
|
// import { AudioLines } from 'lucide-svelte';
|
||||||
import type { Song } from '$lib/song';
|
import type { Song } from '$lib/song';
|
||||||
|
import { AudioLines } from 'lucide-svelte';
|
||||||
import type { SubmitFunction } from '../../../routes/songs/[hash]/$types';
|
import type { SubmitFunction } from '../../../routes/songs/[hash]/$types';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -44,12 +45,12 @@
|
|||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- <div
|
<div
|
||||||
class="absolute bottom-6 left-2 size-4 animate-pulse"
|
class="absolute bottom-6 left-2 size-4 animate-pulse"
|
||||||
class:hidden={$currentlyPlaying?.entry.hash !== song.entry.hash}
|
class:hidden={player.currentlyPlaying?.hash !== song.hash}
|
||||||
>
|
>
|
||||||
<AudioLines class="text-primary" />
|
<AudioLines class="text-primary" />
|
||||||
</div> -->
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="relative space-y-1 text-sm">
|
<div class="relative space-y-1 text-sm">
|
||||||
<h3 class="font-medium leading-none">{song.name}</h3>
|
<h3 class="font-medium leading-none">{song.name}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user