+ +
<%= live_component CanneryWeb.Live.Component.Topbar, current_user: assigns[:current_user] %> - +
<%= if live_flash(@flash, :info) do %> - <% end %> - + <%= if live_flash(@flash, :error) do %> - <% end %> diff --git a/lib/cannery_web/templates/layout/root.html.leex b/lib/cannery_web/templates/layout/root.html.heex similarity index 64% rename from lib/cannery_web/templates/layout/root.html.leex rename to lib/cannery_web/templates/layout/root.html.heex index 410c6e7..b520a49 100644 --- a/lib/cannery_web/templates/layout/root.html.leex +++ b/lib/cannery_web/templates/layout/root.html.heex @@ -6,8 +6,8 @@ <%= csrf_meta_tag() %> <%= live_title_tag assigns[:page_title] || "Cannery", suffix: "" %> - "/> - + + <%= @inner_content %> diff --git a/lib/cannery_web/templates/layout/topbar.html.eex b/lib/cannery_web/templates/layout/topbar.html.eex index e530274..6012f0a 100644 --- a/lib/cannery_web/templates/layout/topbar.html.eex +++ b/lib/cannery_web/templates/layout/topbar.html.eex @@ -1,6 +1,6 @@