2023-09-09 10:24:22 +02:00
|
|
|
<article class="h-card hcard | stack">
|
|
|
|
<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)}
|
|
|
|
/>
|
|
|
|
<header class="page-header | flex-1">
|
|
|
|
<h1 class="p-name"><%= @user.name %></h1>
|
|
|
|
<p><%= @user.bio %></p>
|
|
|
|
</header>
|
|
|
|
</section>
|
2023-07-07 13:48:21 +02:00
|
|
|
|
2023-09-09 10:24:22 +02:00
|
|
|
<%= if @note do %>
|
|
|
|
<section class="prose max-w-none | p-summary e-content">
|
|
|
|
<%= Markdown.render(@note.content) |> raw %>
|
|
|
|
</section>
|
|
|
|
<% end %>
|
|
|
|
</article>
|