„lib/chiya_web/controllers/page_html/wiki.html.heex“ ändern
This commit is contained in:
parent
b54fa62675
commit
8fcb5a1858
1 changed files with 15 additions and 15 deletions
|
@ -1,25 +1,25 @@
|
|||
<section class="w-full px-3">
|
||||
<section class="mx-auto max-w-2xl">
|
||||
<.header>
|
||||
<:title>Wiki</:title>
|
||||
</.header>
|
||||
|
||||
<section class="prose prose-gruvbox">
|
||||
<section class="prose prose-gruvbox mt-6">
|
||||
<%= Markdown.render(@channel.content) |> raw %>
|
||||
</section>
|
||||
|
||||
<%= if @channel do %>
|
||||
<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">
|
||||
<h2 class="text-xl">Recently Updated</h2>
|
||||
|
||||
<.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">
|
||||
<h2 class="text-xl">Recently Published</h2>
|
||||
|
||||
<.note_list notes={@notes_published} layout={@channel.layout} />
|
||||
</div>
|
||||
</section>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
<%= if @channel do %>
|
||||
<section class="flex flex-col md:flex-row gap-3 mt-6 w-full px-3">
|
||||
<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} />
|
||||
</div>
|
||||
|
||||
<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} />
|
||||
</div>
|
||||
</section>
|
||||
<% end %>
|
Loading…
Reference in a new issue