Sidebar
Last updated
Last updated
<.auth_navbar
socket={@socket}
:if={
@current_user &&
@socket.view in PhxSaasWeb.admin_routes()
}
current_user={@current_user}
active_tab={@active_tab}
inner_content={@inner_content}
>
<:link title="Users" patch={~p"/admin"}>
<div class="hero-user h-6 w-6"></div>
</:link>
<:link title="Emailing" patch={~p"/admin/emails"}>
<div class="hero-envelope h-6 w-6"></div>
</:link>
<:link title="Email Templates" patch={~p"/admin/templates"}>
<div class="hero-pencil-square h-6 w-6"></div>
</:link>
<:link title="Default Templates" patch={~p"/admin/preview/templates"}>
<div class="hero-inbox-stack h-6 w-6"></div>
</:link>
<:link title="Telemetry" patch={~p"/admin/telemetry"}>
<div class="hero-chart-pie h-6 w-6"></div>
</:link>
</.auth_navbar>