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

22 lines
589 B
Text
Raw Normal View History

2023-03-09 15:36:23 +01:00
<header class="px-4 sm:px-6 lg:px-8">
2023-03-30 22:56:06 +02:00
<div class="flex items-center justify-end border-b border-theme-dim/50 py-3">
2023-03-15 09:55:36 +01:00
<div class="flex items-center gap-4">
<%= for channel <- @channels %>
2023-03-15 09:55:36 +01:00
<.link
href={~p"/#{channel.slug}"}
class="text-xs font-semibold leading-6 text-theme-base hover:text-theme-base/75"
2023-03-15 09:55:36 +01:00
>
<%= channel.name %>
2023-03-15 09:55:36 +01:00
</.link>
<% end %>
2023-03-15 09:55:36 +01:00
</div>
2023-03-09 15:36:23 +01:00
</div>
</header>
2023-03-30 22:56:06 +02:00
2023-03-09 15:36:23 +01:00
<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>