chiya/lib/chiya_web/components/layouts/app.html.heex

37 lines
1.3 KiB
Text
Raw Normal View History

2023-03-05 16:07:40 +01:00
<header class="px-4 sm:px-6 lg:px-8">
2023-04-01 16:05:20 +02:00
<div class="flex items-center justify-end border-b border-gray-300 dark:border-gray-800 py-3">
2023-03-05 16:07:40 +01:00
<div class="flex items-center gap-4">
2023-03-09 21:43:05 +01:00
<.link
href={~p"/admin/notes"}
class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
2023-03-09 21:43:05 +01:00
>
2023-04-07 22:01:57 +02:00
<.icon name="hero-document-text" class="w-4 h-4" /> Notes
2023-03-09 21:43:05 +01:00
</.link>
2023-03-05 18:09:32 +01:00
<.link
href={~p"/admin/channels"}
class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
2023-03-05 16:07:40 +01:00
>
2023-04-07 22:01:57 +02:00
<.icon name="hero-speaker-wave" class="w-4 h-4" /> Channels
2023-03-05 18:09:32 +01:00
</.link>
<.link
2023-03-09 21:43:05 +01:00
href={~p"/admin/identities"}
class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
2023-03-05 16:07:40 +01:00
>
2023-04-07 22:01:57 +02:00
<.icon name="hero-user" class="w-4 h-4" /> Identities
2023-03-05 18:09:32 +01:00
</.link>
2023-03-10 09:58:51 +01:00
<.link
href={~p"/admin/settings"}
class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700 dark:text-gray-200"
2023-03-10 09:58:51 +01:00
>
2023-04-07 22:01:57 +02:00
<.icon name="hero-wrench-screwdriver" class="w-4 h-4" /> Settings
2023-03-10 09:58:51 +01:00
</.link>
2023-03-05 16:07:40 +01:00
</div>
</div>
</header>
<main class="px-4 py-20 sm:px-6 lg:px-8">
<div class="mx-auto max-w-2xl">
<.flash_group flash={@flash} />
<%= @inner_content %>
</div>
</main>