diff --git a/lib/towerops_web.ex b/lib/towerops_web.ex
index ab69e9c3..a1aaa6c1 100644
--- a/lib/towerops_web.ex
+++ b/lib/towerops_web.ex
@@ -90,6 +90,7 @@ defmodule ToweropsWeb do
# Common modules used in templates
alias Phoenix.LiveView.JS
alias ToweropsWeb.Layouts
+ alias ToweropsWeb.MarketingLayouts
# Routes generation with the ~p sigil
unquote(verified_routes())
diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex
index d5cce81c..346f25d1 100644
--- a/lib/towerops_web/components/layouts.ex
+++ b/lib/towerops_web/components/layouts.ex
@@ -303,78 +303,6 @@ defmodule ToweropsWeb.Layouts do
"""
end
- @doc """
- Renders the marketing layout.
-
- Use this for public-facing marketing pages.
-
- ## Examples
-
-
-
Marketing Content
-
-
- """
- attr :flash, :map, required: true, doc: "the map of flash messages"
-
- slot :inner_block, required: true
-
- def marketing(assigns) do
- ~H"""
-
-
-
-
-
-
-
-
- {render_slot(@inner_block)}
-
-
-
-
-
- <.flash_group flash={@flash} />
- """
- end
-
@doc """
Renders the admin layout.
diff --git a/lib/towerops_web/components/marketing_layouts.ex b/lib/towerops_web/components/marketing_layouts.ex
new file mode 100644
index 00000000..9792c3aa
--- /dev/null
+++ b/lib/towerops_web/components/marketing_layouts.ex
@@ -0,0 +1,78 @@
+defmodule ToweropsWeb.MarketingLayouts do
+ @moduledoc """
+ Marketing layouts for public-facing pages.
+ """
+ use ToweropsWeb, :html
+
+ @doc """
+ Renders the marketing layout.
+
+ Use this for public-facing marketing pages.
+
+ ## Examples
+
+
+
Marketing Content
+
+
+ """
+ attr :flash, :map, required: true, doc: "the map of flash messages"
+
+ slot :inner_block, required: true
+
+ def marketing(assigns) do
+ ~H"""
+