diff --git a/lib/microwaveprop_web/components/layouts.ex b/lib/microwaveprop_web/components/layouts.ex index d08e3faa..6f239aac 100644 --- a/lib/microwaveprop_web/components/layouts.ex +++ b/lib/microwaveprop_web/components/layouts.ex @@ -47,27 +47,22 @@ defmodule MicrowavepropWeb.Layouts do <.link navigate="/contacts" class="btn btn-ghost btn-sm">Contacts <.link navigate="/contacts/map" class="btn btn-ghost btn-sm">Contact Map <.link navigate="/about" class="btn btn-ghost btn-sm">About - <.link +
- Users - - <.link - :if={@current_scope && @current_scope.user && @current_scope.user.is_admin} - navigate="/admin/contact-edits" - class="btn btn-ghost btn-sm" - > - Edits - - <.link - :if={@current_scope && @current_scope.user && @current_scope.user.is_admin} - href="/admin/oban" - class="btn btn-ghost btn-sm" - > - Oban - +
+ Admin <.icon name="hero-chevron-down-micro" class="size-3" /> +
+ +
<%= if @current_scope && @current_scope.user do %> <.link navigate={~p"/u/#{@current_scope.user.callsign}"}