feat: added suggestions & upvoting system
This commit is contained in:
parent
25a6b4e82c
commit
41efae6aeb
4 changed files with 48 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
<div class="flex w-fit flex-row gap-4">
|
||||
{#each displaySongs as song, i}
|
||||
{#if song.name != ""}
|
||||
<div class={`relative flex flex-col items-center transition-all duration-300 ${i === 1 ? "z-10 mx-2 scale-100" : "z-0 opacity-70"}`}>
|
||||
<div class={`relative flex flex-col items-center transition-all duration-300 ${i === 1 ? "z-10" : "z-0 scale-85 opacity-50"}`}>
|
||||
<img
|
||||
class="h-[60vw] max-h-[250px] w-[60vw]
|
||||
max-w-[250px] rounded object-cover transition-all duration-300"
|
||||
|
@ -23,6 +23,8 @@
|
|||
<h1 class="mt-2">{song.name}</h1>
|
||||
{/if}
|
||||
</div>
|
||||
{:else}
|
||||
<div class="h-[60vw] max-h-[250px] w-[60vw] max-w-[250px]"></div>
|
||||
{/if}
|
||||
{/each}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue