From f8a1d88e0e9a7659c5ce24e320cc9f156fa0ee65 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 26 Feb 2023 00:37:07 -0500 Subject: [PATCH] fix topbar links --- lib/lokal_web/components/topbar.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lokal_web/components/topbar.ex b/lib/lokal_web/components/topbar.ex index 5dbe49a..2ef62cd 100644 --- a/lib/lokal_web/components/topbar.ex +++ b/lib/lokal_web/components/topbar.ex @@ -46,7 +46,7 @@ defmodule LokalWeb.Components.Topbar do
  • <.link - navigate={Routes.user_settings_path(Endpoint, :edit)} + href={Routes.user_settings_path(Endpoint, :edit)} class="text-white text-white hover:underline truncate" > <%= @current_user.email %> @@ -77,7 +77,7 @@ defmodule LokalWeb.Components.Topbar do <% else %>
  • <.link - navigate={Routes.user_registration_path(Endpoint, :new)} + href={Routes.user_registration_path(Endpoint, :new)} class="text-white text-white hover:underline truncate" > <%= dgettext("actions", "Register") %> @@ -85,7 +85,7 @@ defmodule LokalWeb.Components.Topbar do
  • <.link - navigate={Routes.user_session_path(Endpoint, :new)} + href={Routes.user_session_path(Endpoint, :new)} class="text-white text-white hover:underline truncate" > <%= dgettext("actions", "Log in") %>