diff --git a/lib/decentralised_book_index_web/live/author_live/show.ex b/lib/decentralised_book_index_web/live/author_live/show.ex index 4e9d66f..cc9db6d 100644 --- a/lib/decentralised_book_index_web/live/author_live/show.ex +++ b/lib/decentralised_book_index_web/live/author_live/show.ex @@ -25,26 +25,43 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Show do -
+
<%= if @author.avatar_url != nil do %> - {"#{@author.name} + {"#{@author.name} <% else %> -
- +
+ + + +
<% end %> - <.list class="mt-5"> - <:item title="Id">{@author.id} - - <:item title="Name">{@author.name} - - <:item title="Description">{@author.description} - +
+

Description

+

+ {@author.description} +

+
<%= if @alternative_names != [] do %> -

Alternatives names

+

+ Alternatives names +