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

This commit is contained in:
inhji 2023-07-07 13:48:21 +02:00
parent 939dbfb569
commit feee72b9d2

View file

@ -1,24 +1,26 @@
<article class="h-card hcard"> <section class="max-w-2xl mx-auto">
<section class="p-10 bg-theme-background1 flex gap-3 items-start"> <article class="h-card hcard">
<div> <section class="p-10 bg-theme-background1 flex gap-3 items-start">
<img <div>
class="rounded-lg w-28 | u-photo" <img
src={ChiyaWeb.Uploaders.UserImage.url({@user.user_image, @current_user}, :thumb)} class="rounded-lg w-28 | u-photo"
/> src={ChiyaWeb.Uploaders.UserImage.url({@user.user_image, @current_user}, :thumb)}
</div> />
<div> </div>
<h1 class="text-3xl font-extrabold leading-10 tracking-tight text-theme-primary | p-name"> <div>
<%= @user.name %> <h1 class="text-3xl font-extrabold leading-10 tracking-tight text-theme-primary | p-name">
</h1> <%= @user.name %>
<section class="mx-auto mt-8 prose prose-gruvbox | p-note"> </h1>
<%= Markdown.render(@user.bio) |> raw() %> <section class="mx-auto mt-8 prose prose-gruvbox | p-note">
</section> <%= Markdown.render(@user.bio) |> raw() %>
</div> </section>
</section> </div>
<%= if @note do %>
<section class="mx-auto mt-8 prose prose-gruvbox md:prose-lg lg:prose-xl | p-summary e-content">
<%= Markdown.render(@note.content) |> raw %>
</section> </section>
<% end %>
</article> <%= if @note do %>
<section class="mx-auto mt-8 prose prose-gruvbox md:prose-lg lg:prose-xl | p-summary e-content">
<%= Markdown.render(@note.content) |> raw %>
</section>
<% end %>
</article>
</section>