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

This commit is contained in:
inhji 2023-07-07 14:01:59 +02:00
parent b54fa62675
commit 8fcb5a1858

View file

@ -1,14 +1,15 @@
<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>
</section>
<%= if @channel do %>
<section class="flex flex-col md:flex-row gap-3">
<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>
@ -22,4 +23,3 @@
</div>
</section>
<% end %>
</section>