From 6edda5ae679f3d7810d41c897fef070789ba99cd Mon Sep 17 00:00:00 2001 From: Inhji Date: Fri, 7 Apr 2023 16:19:43 +0200 Subject: [PATCH 1/2] fix login text color --- lib/chiya_web/components/admin_components.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chiya_web/components/admin_components.ex b/lib/chiya_web/components/admin_components.ex index 198ae5b..0898d6d 100644 --- a/lib/chiya_web/components/admin_components.ex +++ b/lib/chiya_web/components/admin_components.ex @@ -132,7 +132,7 @@ defmodule ChiyaWeb.AdminComponents do
  • <.link href={~p"/user/log_in"} - class="text-xs leading-6 text-gray-100 font-semibold dark:hover:text-gray-300 hover:text-gray-700" + class="text-xs leading-6 text-gray-900 dark:text-gray-100 font-semibold dark:hover:text-gray-300 hover:text-gray-700" > Log in -- 2.39.5 From 3cf4e0163aea1aaaf1dc1989febecb576c9c952e Mon Sep 17 00:00:00 2001 From: Inhji Date: Fri, 7 Apr 2023 16:19:56 +0200 Subject: [PATCH 2/2] 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) %> - + -- 2.39.5