diff --git a/lib/admin_web.ex b/lib/admin_web.ex index eba969d46..d33a4bcab 100644 --- a/lib/admin_web.ex +++ b/lib/admin_web.ex @@ -17,7 +17,8 @@ defmodule AdminWeb do those modules here. """ - def static_paths, do: ~w(assets fonts images icons favicon.ico robots.txt) + def static_paths, + do: ~w(assets fonts images icons favicon.ico favicons robots.txt) def router do quote do diff --git a/lib/admin_web/components/layouts/admin_root.html.heex b/lib/admin_web/components/layouts/admin_root.html.heex new file mode 100644 index 000000000..ffaface9d --- /dev/null +++ b/lib/admin_web/components/layouts/admin_root.html.heex @@ -0,0 +1,47 @@ + + +
+ + + + + <.live_title default={gettext("Home")} suffix=" ยท Admin"> + {assigns[:page_title]} + + + + + + + + + + + {@inner_content} + + diff --git a/lib/admin_web/components/layouts/root.html.heex b/lib/admin_web/components/layouts/root.html.heex index 4156261ca..f2821477b 100644 --- a/lib/admin_web/components/layouts/root.html.heex +++ b/lib/admin_web/components/layouts/root.html.heex @@ -15,6 +15,10 @@ {assigns[:page_title]} + + + +