diff --git a/lib/live_beats_web/live/player_live.ex b/lib/live_beats_web/live/player_live.ex index c56438b..6d2e3dc 100644 --- a/lib/live_beats_web/live/player_live.ex +++ b/lib/live_beats_web/live/player_live.ex @@ -15,16 +15,18 @@ defmodule LiveBeatsWeb.PlayerLive do
-
-
+ <%= if @song do %> +
+

- <%= if @song, do: @song.title, else: raw(" ") %> + <%= @song.title %>

- <%= if @song, do: @song.artist, else: raw(" ") %> + <%= @song.artist %>

+
-
+ <% end %> <.progress_bar id="player-progress" />