{@user.bio}
+-
+ <%= if @user.location do %>
+
- + <.icon name="hero-map-pin" class="mt-0.5 h-5 w-5 flex-none" /> + +
- {@user.location} + <% end %> + <%= if @user.birthday do %> +
- + <.icon name="hero-cake" class="mt-0.5 h-5 w-5 flex-none" /> + +
- {format_birthdate(@user.birthday)} + <% end %> +
- + <.icon name="hero-calendar" class="mt-0.5 h-5 w-5 flex-none" /> + +
- {format_registration_date(@user.inserted_at)} +
-
+ <%= for {key, value} <- @user.fields do %>
+
- {key} +
- + <%= if Regex.match?(~r{://}, value) do %> + {Regex.replace(~r{^\w+://}, value, "")} + <% else %> + {value} + <% end %> + + <% end %> +
{note.content}
+