diff --git a/lib/calori_web/components/core_components.ex b/lib/calori_web/components/core_components.ex index f534035..488b6af 100644 --- a/lib/calori_web/components/core_components.ex +++ b/lib/calori_web/components/core_components.ex @@ -678,21 +678,27 @@ defmodule CaloriWeb.CoreComponents do @doc """ Copied/Modified from https://fullstackphoenix.com/tutorials/tailwind-navbar-new-liveview-0-18-components """ - attr :name, :string, default: "Calori App" + attr :name, :string, default: "Calori Software" def logo(assigns) do ~H""" - + + + + + + + @@ -702,6 +708,7 @@ defmodule CaloriWeb.CoreComponents do end slot :logo + slot(:link, required: true) do attr :to, :string attr :label, :string diff --git a/lib/calori_web/components/layouts/app.html.heex b/lib/calori_web/components/layouts/app.html.heex index ccd17bf..3c48711 100644 --- a/lib/calori_web/components/layouts/app.html.heex +++ b/lib/calori_web/components/layouts/app.html.heex @@ -6,17 +6,25 @@ <:link label="Home" to={~p"/home"} /> - <:link label="About" to={~p"/home"} /> + <:link label="Supervisor" to={~p"/supervisor"} />
-
+
<.flash_group flash={@flash} /> <%= @inner_content %>
+ +
diff --git a/lib/calori_web/components/layouts/root.html.heex b/lib/calori_web/components/layouts/root.html.heex index fa54287..7902584 100644 --- a/lib/calori_web/components/layouts/root.html.heex +++ b/lib/calori_web/components/layouts/root.html.heex @@ -4,8 +4,8 @@ - <.live_title suffix=" · Beam"> - <%= assigns[:page_title] || "Calori" %> + <.live_title suffix=""> + <%= assigns[:page_title] || "Calori Software" %>