chiya/lib/chiya_web/controllers/page_html/about.html.heex

24 lines
563 B
Text
Raw Normal View History

2023-09-11 23:19:44 +02:00
<section>
2023-09-09 10:24:22 +02:00
<section class="flex gap-3">
<img
class="rounded-lg block text-center w-28 h-28 | u-photo"
src={ChiyaWeb.Uploaders.UserImage.url({@user.user_image, @current_user}, :thumb)}
/>
2023-09-11 23:19:44 +02:00
<p><%= @user.bio %></p>
2023-09-09 10:24:22 +02:00
</section>
2023-09-11 23:19:44 +02:00
<section class="prose max-w-none | p-summary e-content">
<%= Markdown.render(@note.content) |> raw %>
</section>
</section>
<aside class="prose max-w-none">
<%= if has_outline?(@note) do %>
<h3>Outline</h3>
<section>
<%= raw(render_outline(@note)) %>
2023-09-09 10:24:22 +02:00
</section>
<% end %>
2023-09-11 23:19:44 +02:00
</aside>