diff --git a/lib/kmxgit_web/templates/user/show.html.heex b/lib/kmxgit_web/templates/user/show.html.heex
index 6fabf5a..afe364e 100644
--- a/lib/kmxgit_web/templates/user/show.html.heex
+++ b/lib/kmxgit_web/templates/user/show.html.heex
@@ -16,6 +16,18 @@
</div>
<div class="row">
+ <hr/>
+ <div class="col col-12 col-md-4">
+ <img src={Exgravatar.gravatar_url(@user.email, s: 256)} alt="Avatar"/>
+ </div>
+ <div class="col col-12 col-md-8">
+ <%= if @user.description do %>
+ <%= raw Earmark.as_html!(@user.description) %>
+ <% end %>
+ </div>
+ </div>
+
+ <div class="row">
<div class="col col-12 col-md-7">
<hr/>
<h2><%= gettext "Repositories" %></h2>
@@ -46,9 +58,6 @@
<tr>
<th><%= gettext "Description" %></th>
<td>
- <%= if @user.description do %>
- <%= raw Earmark.as_html!(@user.description) %>
- <% end %>
</td>
</tr>
<tr>
diff --git a/mix.exs b/mix.exs
index c26da94..b1f5663 100644
--- a/mix.exs
+++ b/mix.exs
@@ -39,6 +39,7 @@ defmodule Kmxgit.MixProject do
{:ecto_sql, "~> 3.6"},
{:elixir_auth_google, "~> 1.6.2"},
{:esbuild, "~> 0.2", runtime: Mix.env() == :dev},
+ {:exgravatar, "~> 2.0"},
{:file_size, "~> 3.0"},
{:floki, ">= 0.30.0", only: :test},
{:gen_smtp, "~> 1.1"},
diff --git a/mix.lock b/mix.lock
index 64bf5c6..be50b43 100644
--- a/mix.lock
+++ b/mix.lock
@@ -17,6 +17,7 @@
"elixir_auth_google": {:hex, :elixir_auth_google, "1.6.2", "bef167fc8b32d3e30bf39217a40508af538f5f1cca987239e3a67f4efa74d7a3", [:mix], [{:httpoison, "~> 1.8.0", [hex: :httpoison, repo: "hexpm", optional: false]}, {:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "deafaf9ca84bd900ab55a192c0cd0ca2301107c7cbcc9c35a0c89083bb7d2ef4"},
"elixir_make": {:hex, :elixir_make, "0.6.3", "bc07d53221216838d79e03a8019d0839786703129599e9619f4ab74c8c096eac", [:mix], [], "hexpm", "f5cbd651c5678bcaabdbb7857658ee106b12509cd976c2c2fca99688e1daf716"},
"esbuild": {:hex, :esbuild, "0.4.0", "9f17db148aead4cf1e6e6a584214357287a93407b5fb51a031f122b61385d4c2", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}], "hexpm", "b61e4e6b92ffe45e4ee4755a22de6211a67c67987dc02afb35a425a0add1d447"},
+ "exgravatar": {:hex, :exgravatar, "2.0.3", "2349709832ee535f826f48db98cddd294ae62b01acb44d539a16419bd8ebc3e5", [:mix], [], "hexpm", "aca18ff9bd8991d3be3e5446d3bdefc051be084c1ffc9ab2d43b3e65339300e1"},
"file_size": {:hex, :file_size, "3.0.1", "ad447a69442a82fc701765a73992d7b1110136fa0d4a9d3190ea685d60034dcd", [:mix], [{:decimal, ">= 1.0.0 and < 3.0.0", [hex: :decimal, repo: "hexpm", optional: true]}, {:number, "~> 1.0", [hex: :number, repo: "hexpm", optional: false]}], "hexpm", "64dd665bc37920480c249785788265f5d42e98830d757c6a477b3246703b8e20"},
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
"floki": {:hex, :floki, "0.32.0", "f915dc15258bc997d49be1f5ef7d3992f8834d6f5695270acad17b41f5bcc8e2", [:mix], [{:html_entities, "~> 0.5.0", [hex: :html_entities, repo: "hexpm", optional: false]}], "hexpm", "1c5a91cae1fd8931c26a4826b5e2372c284813904c8bacb468b5de39c7ececbd"},