add theme toggle to admin bar again

This commit is contained in:
inhji 2023-03-30 13:07:37 +02:00
parent 79f108212f
commit e7c037e5a2

View file

@ -70,6 +70,15 @@ defmodule ChiyaWeb.AdminComponents do
<li class="text-xs leading-6 text-gray-100"> <li class="text-xs leading-6 text-gray-100">
<%= @current_user.email %> <%= @current_user.email %>
</li> </li>
<li>
<.link
href="#"
id="dark-mode-toggle"
class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
>
<.icon name="hero-sun-mini" class="h-4 w-4" />
</.link>
</li>
<li> <li>
<.link <.link
href={~p"/user"} href={~p"/user"}