„lib/chiya_web/controllers/page_html/channel.html.heex“ ändern

This commit is contained in:
inhji 2023-07-05 16:33:20 +02:00
parent b89739246b
commit cb60767560

View file

@ -1,12 +1,10 @@
<div class="mx-auto max-w-xl"> <h1 class="mt-16 text-3xl font-extrabold tracking-tight text-theme-primary">
<h1 class="mt-16 text-3xl font-extrabold tracking-tight text-theme-primary"> <%= @channel.name %>
<%= @channel.name %> </h1>
</h1> <p class="mt-4 text-base leading-7 text-theme-base">
<p class="mt-4 text-base leading-7 text-theme-base"> <%= @channel.content %>
<%= @channel.content %> </p>
</p>
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5"> <div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5">
<.note_list notes={@channel.notes} layout={@channel.layout} /> <.note_list notes={@channel.notes} layout={@channel.layout} />
</div>
</div> </div>