From df54b8678945f1f2071788211ebdfab1b4d19884 Mon Sep 17 00:00:00 2001 From: Jeremy Brayton Date: Tue, 17 Jan 2023 17:05:38 -0500 Subject: [PATCH] Fix sidebar nags Hide sidebar when `active_tab` is nil. This has the effect of making our login and register pages look normal. This is the behavior we're looking for. --- lib/beatseek_web/components/layouts.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/beatseek_web/components/layouts.ex b/lib/beatseek_web/components/layouts.ex index 0dcac97..4298625 100644 --- a/lib/beatseek_web/components/layouts.ex +++ b/lib/beatseek_web/components/layouts.ex @@ -10,7 +10,7 @@ defmodule BeatseekWeb.Layouts do def sidebar(assigns) do ~H""" -
+
  • Music @@ -85,7 +85,7 @@ defmodule BeatseekWeb.Layouts do
  • <.link - navigate={~p"/users/log_out"} + href={~p"/users/log_out"} method="delete" class="group flex flex-row items-center h-12 px-4 rounded-lg text-primary-600 hover:bg-primary-100" >