feat: add admin dashboard link to nav menus
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled
This commit is contained in:
parent
e8ff087807
commit
124f3b67fb
1 changed files with 5 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ defmodule MicrowavepropWeb.Layouts do
|
|||
tabindex="0"
|
||||
class="dropdown-content menu bg-base-100 rounded-box z-[1] w-44 p-2 shadow-lg"
|
||||
>
|
||||
<li><.link href="/admin/dashboard">Dashboard</.link></li>
|
||||
<li><.link navigate="/users">Users</.link></li>
|
||||
<li><.link navigate="/admin/beacon-monitors">Beacon monitors</.link></li>
|
||||
<li><.link navigate="/admin/contact-edits">Contact edits</.link></li>
|
||||
|
|
@ -172,6 +173,10 @@ defmodule MicrowavepropWeb.Layouts do
|
|||
<div class="px-3 py-1 text-xs font-semibold uppercase tracking-wider text-base-content/40">
|
||||
Admin
|
||||
</div>
|
||||
<.link
|
||||
href="/admin/dashboard"
|
||||
class="block px-3 py-2.5 rounded-lg hover:bg-base-200 transition-colors text-sm font-medium"
|
||||
>Dashboard</.link>
|
||||
<.link
|
||||
navigate="/users"
|
||||
class="block px-3 py-2.5 rounded-lg hover:bg-base-200 transition-colors text-sm font-medium"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue