Make many of the improvements suggested in review.
[akkoma] / lib / pleroma / web / templates / static_fe / static_fe / profile.html.eex
1 <header>
2 <h1><%= link instance_name(), to: "/" %></h1>
3
4 <h3>
5 <form class="pull-right collapse" method="POST" action="<%= Helpers.util_path(@conn, :remote_subscribe) %>">
6 <input type="hidden" name="nickname" value="<%= @user.nickname %>">
7 <input type="hidden" name="profile" value="">
8 <button type="submit" class="collapse">Remote follow</button>
9 </form>
10 <%= raw Formatter.emojify(@user.name, emoji_for_user(@user)) %> |
11 <%= link "@#{@user.nickname}@#{Endpoint.host()}", to: User.profile_url(@user) %>
12 </h3>
13 <p><%= raw @user.bio %></p>
14 </header>
15
16 <main>
17 <div class="activity-stream">
18 <%= for activity <- @timeline do %>
19 <%= render("_notice.html", Map.put(activity, :selected, false)) %>
20 <% end %>
21 </div>
22 </main>