diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index 0ce601ae..dbcff59c 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -35,7 +35,7 @@ defmodule ToweropsWeb.Layouts do def app(assigns) do ~H""" -
+
-
+
{render_slot(@inner_block)}
+ + <.footer />
<.flash_group flash={@flash} /> @@ -103,7 +105,7 @@ defmodule ToweropsWeb.Layouts do def authenticated(assigns) do ~H""" -
+
<%= if @current_scope && @current_scope.impersonating? do %>
@@ -224,11 +226,13 @@ defmodule ToweropsWeb.Layouts do
-
+
{render_slot(@inner_block)}
+ + <.footer />
<.flash_group flash={@flash} /> @@ -355,7 +359,7 @@ defmodule ToweropsWeb.Layouts do def admin(assigns) do ~H""" -
+
-
- {render_slot(@inner_block)} -
-
+
+
+ {render_slot(@inner_block)} +
+
+ + <.footer /> +
<.flash_group flash={@flash} /> """ end + + @doc """ + Renders the application footer with copyright notice. + """ + def footer(assigns) do + ~H""" + + """ + end end diff --git a/lib/towerops_web/components/marketing_layouts.ex b/lib/towerops_web/components/marketing_layouts.ex index 9792c3aa..3cb891a3 100644 --- a/lib/towerops_web/components/marketing_layouts.ex +++ b/lib/towerops_web/components/marketing_layouts.ex @@ -65,7 +65,7 @@ defmodule ToweropsWeb.MarketingLayouts do

- Copyright © 2025 Towerops. All rights reserved. + Copyright © {Date.utc_today().year} Towerops