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,13 +1,14 @@
<.header> <section class="w-full px-3">
<.header>
<:title>Wiki</:title> <:title>Wiki</:title>
</.header> </.header>
<section class="prose prose-gruvbox"> <section class="prose prose-gruvbox">
<%= Markdown.render(@channel.content) |> raw %> <%= Markdown.render(@channel.content) |> raw %>
</section> </section>
<%= if @channel do %> <%= if @channel do %>
<section class="flex flex-col md:col-row"> <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"> <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} /> <.note_list notes={@notes_updated} layout={@channel.layout} />
</div> </div>
@ -15,5 +16,6 @@
<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">
<.note_list notes={@notes_published} layout={@channel.layout} /> <.note_list notes={@notes_published} layout={@channel.layout} />
</div> </div>
</section>
<% end %>
</section> </section>
<% end %>