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

43 lines
1.4 KiB
Text
Raw Normal View History

2023-03-05 16:07:40 +01:00
<header class="px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between border-b border-gray-100 dark:border-gray-800 py-3">
2023-03-05 16:07:40 +01:00
<div class="flex items-center gap-4">
<a href="/" class="text-gray-900 font-semibold dark:text-gray-100">Chiya</a>
<p class="rounded-full bg-emerald-500/5 px-2 text-[0.8125rem] font-medium leading-6 text-emerald-500">
2023-03-07 13:34:00 +01:00
v<%= Application.spec(:chiya, :vsn) %>
2023-03-05 16:07:40 +01:00
</p>
</div>
<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
>
Notes
</.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-03-05 18:09:32 +01:00
Channels
</.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-03-09 21:43:05 +01:00
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
>
Settings
</.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>