<% items = [
%{
path: ~p"/admin/notes",
icon: "hero-document-text-solid",
name: "Notes"
},
%{
path: ~p"/admin/channels",
icon: "hero-speaker-wave-solid",
name: "Channels"
},
%{
path: ~p"/admin/identities",
icon: "hero-user-solid",
name: "Identities"
},
%{
path: ~p"/admin/tokens",
icon: "hero-key-solid",
name: "Tokens"
},
%{
path: ~p"/admin/settings",
icon: "hero-wrench-screwdriver-solid",
name: "Settings"
}
] %>
<%= for item <- items do %>
<.link
href={item.path}
class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
>
<.icon name={item.icon} class="w-4 h-4" />
<%= item.name %>
<% end %>