devel #193

Merged
inhji merged 9 commits from devel into main 2023-07-07 13:55:59 +02:00
Showing only changes of commit cf25e90918 - Show all commits

View file

@ -1,19 +1,21 @@
<.header> <section class="w-full px-3">
<:title>Wiki</:title> <.header>
</.header> <:title>Wiki</:title>
</.header>
<section class="prose prose-gruvbox"> <section class="prose prose-gruvbox">
<%= Markdown.render(@channel.content) |> raw %> <%= Markdown.render(@channel.content) |> raw %>
</section>
<%= if @channel do %>
<section class="flex flex-col md:flex-row">
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<.note_list notes={@notes_updated} layout={@channel.layout} />
</div>
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<.note_list notes={@notes_published} layout={@channel.layout} />
</div>
</section>
<% end %>
</section> </section>
<%= if @channel do %>
<section class="flex flex-col md:col-row">
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<.note_list notes={@notes_updated} layout={@channel.layout} />
</div>
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<.note_list notes={@notes_published} layout={@channel.layout} />
</div>
</section>
<% end %>