add theme toggle to admin bar again #24
1 changed files with 9 additions and 0 deletions
|
@ -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"}
|
||||||
|
|
Loading…
Reference in a new issue