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

This commit is contained in:
inhji 2023-07-07 13:59:56 +02:00
parent 354ffe0582
commit b54fa62675

View file

@ -8,12 +8,16 @@
</section> </section>
<%= if @channel do %> <%= if @channel do %>
<section class="flex flex-col md:flex-row"> <section class="flex flex-col md:flex-row gap-3">
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5"> <div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<h2 class="text-xl">Recently Updated</h2>
<.note_list notes={@notes_updated} layout={@channel.layout} /> <.note_list notes={@notes_updated} layout={@channel.layout} />
</div> </div>
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5"> <div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<h2 class="text-xl">Recently Published</h2>
<.note_list notes={@notes_published} layout={@channel.layout} /> <.note_list notes={@notes_published} layout={@channel.layout} />
</div> </div>
</section> </section>