2023-03-09 15:36:23 +01:00
|
|
|
<header class="px-4 sm:px-6 lg:px-8">
|
2023-05-20 23:50:53 +02:00
|
|
|
<div class="flex items-center justify-end border-b border-theme-base/10 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-05-20 23:50:53 +02:00
|
|
|
class="font-semibold text-theme-base hover:text-theme-base/75 text-sm"
|
2023-03-31 16:58:10 +02:00
|
|
|
>
|
|
|
|
<%= channel.name %>
|
|
|
|
</.link>
|
2023-03-31 13:08:05 +02:00
|
|
|
<% 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>
|