fix: pause & unpause + timeline bar + stock image as not found
This commit is contained in:
parent
cd9d47ad8d
commit
ec36ea3feb
3 changed files with 28 additions and 4 deletions
|
@ -20,7 +20,13 @@
|
|||
class="flex h-[80px] w-full flex-row gap-2 rounded-md border-dark-pine-muted bg-light-pine-overlay p-2 shadow-md duration-100 hover:bg-dark-pine-base/20 dark:bg-dark-pine-overlay hover:dark:bg-light-pine-base/20"
|
||||
>
|
||||
<div class="flex w-3/4 flex-row items-center gap-2">
|
||||
<img class="w-[60px] min-w-[60px] rounded" src={`https://lastfm.freetls.fastly.net/i/u/174s/${sug.image_id}.png`} alt="Song cover" />
|
||||
<img
|
||||
class="w-[60px] min-w-[60px] rounded"
|
||||
alt="Song cover"
|
||||
src={sug.image_id != ""
|
||||
? `https://lastfm.freetls.fastly.net/i/u/174s/${sug.image_id}.png`
|
||||
: "https://s2.qwant.com/thumbr/474x474/f/6/b50687db1ebb262ac78b98a8f3c56a1e62235aaeebe0346dd27d4fbf1edec8/OIP.kXN41HyriW5dLTkjm0QQoAHaHa.jpg?u=https%3A%2F%2Ftse.mm.bing.net%2Fth%2Fid%2FOIP.kXN41HyriW5dLTkjm0QQoAHaHa%3Fpid%3DApi&q=0&b=1&p=0&a=0"}
|
||||
/>
|
||||
<div class="h-fit w-fit flex-col text-white">
|
||||
<b>{sug.title}</b>
|
||||
<p>{sug.artist}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue