devel #193
1 changed files with 27 additions and 25 deletions
|
@ -1,33 +1,35 @@
|
|||
<.header class_title="text-theme-primary p-name" class_subtitle="p-summary">
|
||||
<:title><%= @settings.title %></:title>
|
||||
<:subtitle><%= @settings.subtitle %></:subtitle>
|
||||
</.header>
|
||||
<section class="max-w-2xl mx-auto">
|
||||
<.header class_title="text-theme-primary p-name" class_subtitle="p-summary">
|
||||
<:title><%= @settings.title %></:title>
|
||||
<:subtitle><%= @settings.subtitle %></:subtitle>
|
||||
</.header>
|
||||
|
||||
<section class="text-sm my-8">
|
||||
<ul class="flex flex-wrap gap-3">
|
||||
<li>
|
||||
<a
|
||||
href="#"
|
||||
class="inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold"
|
||||
>
|
||||
<.icon name="hero-megaphone" />
|
||||
</a>
|
||||
</li>
|
||||
<%= for channel <- @channels do %>
|
||||
<section class="text-sm my-8">
|
||||
<ul class="flex flex-wrap gap-3">
|
||||
<li>
|
||||
<a
|
||||
href={~p"/channel/#{channel.slug}"}
|
||||
href="#"
|
||||
class="inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold"
|
||||
>
|
||||
<%= channel.name %>
|
||||
<.icon name="hero-megaphone" />
|
||||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<%= if @channel do %>
|
||||
<section class="mt-8">
|
||||
<.note_list notes={@channel.notes} layout={@channel.layout} />
|
||||
<%= for channel <- @channels do %>
|
||||
<li>
|
||||
<a
|
||||
href={~p"/channel/#{channel.slug}"}
|
||||
class="inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold"
|
||||
>
|
||||
<%= channel.name %>
|
||||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</section>
|
||||
<% end %>
|
||||
|
||||
<%= if @channel do %>
|
||||
<section class="mt-8">
|
||||
<.note_list notes={@channel.notes} layout={@channel.layout} />
|
||||
</section>
|
||||
<% end %>
|
||||
</section>
|
Loading…
Reference in a new issue