From bc1cec9bffdd3a5ea6c3c19f98861c72e5939b88 Mon Sep 17 00:00:00 2001 From: Rui Oliveira Date: Thu, 9 Jan 2025 14:09:21 +0000 Subject: [PATCH] fix: dark theme on landing --- lib/safira_web.ex | 4 +++- lib/safira_web/components/core_components.ex | 2 +- lib/safira_web/live/auth/user_registration_live.ex | 2 +- lib/safira_web/router.ex | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/safira_web.ex b/lib/safira_web.ex index 8f9ad5ff..8d0c7c06 100644 --- a/lib/safira_web.ex +++ b/lib/safira_web.ex @@ -85,7 +85,9 @@ defmodule SafiraWeb do def landing_view do quote do - use Phoenix.LiveView + use Phoenix.LiveView, + layout: {SafiraWeb.Layouts, :landing} + unquote(html_helpers()) end end diff --git a/lib/safira_web/components/core_components.ex b/lib/safira_web/components/core_components.ex index 97aab6f2..a08ab9aa 100644 --- a/lib/safira_web/components/core_components.ex +++ b/lib/safira_web/components/core_components.ex @@ -402,7 +402,7 @@ defmodule SafiraWeb.CoreComponents do def label(assigns) do ~H""" -