<%= image_tag profile_user.avatar_url(:profile), class: "card__image card__image--larger" %>
<%= profile_user.name %>
<%= profile_user.nickname %> <% if can_contact_user? %> <%= link_to_current_or_new_conversation_with(user) %> <% end %>

<%= profile_user.about %>

<% if profile_user.personal_url.present? %> <%= link_to html_truncate(profile_user.personal_url.gsub(%r{https?\:\/\/}, ""), length: 30), profile_user.personal_url %> <% end %>
<% if profile_user.badge.present? %>
<%= icon profile_user.badge, class: "author__verified" %> <%= translated_attribute(profile_user.officialized_as).presence || t("decidim.profiles.default_officialization_text") %>
<% end %> <%= render_hook(:user_profile_bottom) %>
<% if own_profile? %>
<%= link_to decidim.account_path, class: "button" do %> <%= t("decidim.profiles.user.edit_profile") %> <% end %>
<% elsif logged_in? %> <%= cell "decidim/follow_button", user, inline: false, context: { current_user: current_user } %> <% end %>