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">
|
||||
<%= @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"}
|
||||
|
|
Loading…
Reference in a new issue