improve profile picture on about page

This commit is contained in:
Inhji 2023-07-19 22:40:49 +02:00
parent fd1eba16f6
commit ca140a8821

View file

@ -1,14 +1,17 @@
<section class="max-w-2xl mx-auto"> <section class="max-w-2xl mx-auto">
<article class="h-card hcard"> <article class="h-card hcard">
<img
class="rounded-lg block text-center w-28 | u-photo" <section class="flex gap-3">
src={ChiyaWeb.Uploaders.UserImage.url({@user.user_image, @current_user}, :thumb)} <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="mt-8"> />
<span class="p-name"><%= @user.name %></span> <.header class="flex-1">
<:subtitle><%= @user.bio %></:subtitle> <span class="p-name"><%= @user.name %></span>
</.header> <:subtitle><%= @user.bio %></:subtitle>
</.header>
</section>
<%= if @note do %> <%= if @note do %>
<section class="mx-auto mt-8 prose prose-gruvbox md:prose-lg lg:prose-xl | p-summary e-content"> <section class="mx-auto mt-8 prose prose-gruvbox md:prose-lg lg:prose-xl | p-summary e-content">