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

22 lines
586 B
Text
Raw Normal View History

2023-03-09 15:36:23 +01:00
<header class="px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between border-b border-gray-100 py-3">
2023-03-09 15:36:23 +01:00
<div class="flex items-center gap-4">
<a href="/">Chiya</a>
</div>
2023-03-15 09:55:36 +01:00
<div class="flex items-center gap-4">
<.link
href={~p"/n/about"}
class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
>
About
</.link>
</div>
2023-03-09 15:36:23 +01:00
</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>
2023-03-09 21:44:29 +01:00
</main>