live_beats/lib/live_beats_web/templates/layout/live.html.heex

13 lines
338 B
Text
Raw Normal View History

2021-11-10 16:56:01 +00:00
<main id>
<.live_component module={LiveBeatsWeb.LayoutComponent} id="layout" />
<%= if @current_user do %>
<%= live_render(@socket, LiveBeatsWeb.PlayerLive, id: "player", session: %{}, sticky: true) %>
<% end %>
2021-11-10 16:56:01 +00:00
<.flash flash={@flash} kind={:info}/>
<.flash flash={@flash} kind={:error}/>
2021-09-02 18:00:57 +00:00
<%= @inner_content %>
</main>