Update design of public pages
This commit is contained in:
@ -7,10 +7,7 @@
|
||||
|
||||
|
||||
<%= for article <- @autor.articles do %>
|
||||
<div :for={translation <- article.translations} class="my-2 px-2 rounded border-2 border-solid border-gray-300">
|
||||
<.link navigate={~p"/artikel/#{translation}"}><h4 class="font-bold py-2"><%= translation.title %></h4></.link>
|
||||
<div><%= translation.teaser %></div>
|
||||
</div>
|
||||
<.artikel :for={translation <- article.translations} artikel={translation} show_author={false} />
|
||||
<% end %>
|
||||
|
||||
<.back navigate={~p"/autoren"}>Back to autoren</.back>
|
||||
|
||||
Reference in New Issue
Block a user