Skip to content

Commit

Permalink
chore(song-page): add song to playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed Jun 12, 2024
1 parent e3ed30c commit d4536e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/pages/song.templ
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"dankmuzikk/views/icons"
"dankmuzikk/views/components/menus"
"math/rand"
"dankmuzikk/views/components/playlist"
)

templ Song(song entities.Song) {
Expand Down Expand Up @@ -53,6 +54,7 @@ templ options(song entities.Song) {
"bg-secondary-trans-20", "backdrop-blur-lg", "shadow-sm", "shadow-accent",
}
>
@playlist.PlaylistsPopup(0, song.YtId)
<button
class={
"popover-trigger", "p-2", "rounded-md", "hover:bg-accent-trans-20",
Expand Down

0 comments on commit d4536e3

Please sign in to comment.