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

20 lines
567 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">
2023-03-31 13:13:38 +02:00
<%= for channel <- @channels do %>
2023-03-31 16:58:10 +02:00
<.link
2023-04-02 23:46:49 +02:00
href={~p"/c/#{channel.slug}"}
2023-03-31 16:58:10 +02:00
class="text-xs font-semibold leading-6 text-theme-base hover:text-theme-base/75"
>
<%= channel.name %>
</.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-04-07 16:19:56 +02:00
<section class="mx-auto max-w-2xl px-4 mb-16">
2023-04-07 10:32:24 +02:00
<.flash_group flash={@flash} />
<%= @inner_content %>
2023-04-10 12:08:19 +02:00
</section>