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

22 lines
632 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-theme-dim py-3">
2023-03-09 15:36:23 +01:00
<div class="flex items-center gap-4">
<a href="/" class="text-theme-base font-semibold">Chiya</a>
2023-03-09 15:36:23 +01:00
</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-theme-base hover:text-theme-base/75"
2023-03-15 09:55:36 +01:00
>
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>