add theme toggle to admin bar again #24

Merged
inhji merged 1 commit from devel into main 2023-03-30 13:16:14 +02:00
Showing only changes of commit e7c037e5a2 - Show all commits

View file

@ -70,6 +70,15 @@ defmodule ChiyaWeb.AdminComponents do
<li class="text-xs leading-6 text-gray-100">
<%= @current_user.email %>
</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>
<.link
href={~p"/user"}