2023-07-07 13:49:06 +02:00
|
|
|
<section class="max-w-2xl mx-auto">
|
|
|
|
<.header class_title="text-theme-primary p-name" class_subtitle="p-summary">
|
2023-07-09 20:01:03 +02:00
|
|
|
<%= @settings.title %>
|
2023-07-07 13:49:06 +02:00
|
|
|
<:subtitle><%= @settings.subtitle %></:subtitle>
|
|
|
|
</.header>
|
2023-03-14 22:57:40 +01:00
|
|
|
|
2023-07-07 13:49:06 +02:00
|
|
|
<section class="text-sm my-8">
|
|
|
|
<ul class="flex flex-wrap gap-3">
|
2023-05-25 21:23:04 +02:00
|
|
|
<li>
|
2023-07-20 20:30:15 +02:00
|
|
|
<a href="#" class="button">
|
2023-07-07 13:49:06 +02:00
|
|
|
<.icon name="hero-megaphone" />
|
2023-05-25 21:23:04 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2023-07-07 13:49:06 +02:00
|
|
|
<%= for channel <- @channels do %>
|
|
|
|
<li>
|
2023-07-20 20:30:15 +02:00
|
|
|
<a href={~p"/channel/#{channel.slug}"} class="button">
|
2023-07-07 13:49:06 +02:00
|
|
|
<%= channel.name %>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2023-05-25 21:23:04 +02:00
|
|
|
</section>
|
2023-07-07 13:49:06 +02:00
|
|
|
|
|
|
|
<%= if @channel do %>
|
|
|
|
<section class="mt-8">
|
|
|
|
<.note_list notes={@channel.notes} layout={@channel.layout} />
|
|
|
|
</section>
|
|
|
|
<% end %>
|
2023-07-09 20:01:03 +02:00
|
|
|
</section>
|