From 3cf4e0163aea1aaaf1dc1989febecb576c9c952e Mon Sep 17 00:00:00 2001 From: Inhji Date: Fri, 7 Apr 2023 16:19:56 +0200 Subject: [PATCH] add site footer --- lib/chiya_web/components/layouts/public.html.heex | 4 ++-- .../components/layouts/root_public.html.heex | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/lib/chiya_web/components/layouts/public.html.heex b/lib/chiya_web/components/layouts/public.html.heex index 3011f9a..4cbcab6 100644 --- a/lib/chiya_web/components/layouts/public.html.heex +++ b/lib/chiya_web/components/layouts/public.html.heex @@ -13,7 +13,7 @@ -
+
<.flash_group flash={@flash} /> <%= @inner_content %> -
+ \ No newline at end of file diff --git a/lib/chiya_web/components/layouts/root_public.html.heex b/lib/chiya_web/components/layouts/root_public.html.heex index 2ebbecd..f065d69 100644 --- a/lib/chiya_web/components/layouts/root_public.html.heex +++ b/lib/chiya_web/components/layouts/root_public.html.heex @@ -24,10 +24,17 @@ <%= @settings.custom_css %> - + <.admin_bar current_user={@current_user} /> - <%= @inner_content %> + +
+ <%= @inner_content %> +
+ + <%= raw(@settings.custom_html) %> - +