diff --git a/app/views/links/user_links.html.erb b/app/views/links/user_links.html.erb index c4f25db..e972799 100644 --- a/app/views/links/user_links.html.erb +++ b/app/views/links/user_links.html.erb @@ -13,53 +13,54 @@ -
-

<%= @user.full_name %>

-

<%= @user.username %>

-
- <% @user.tags.each do |tag| %> - <%= tag %> - <% end %> -
+
+

<%= @user.full_name %>

+

<%= @user.username %>

+
+ <% @user.tags.each do |tag| %> + <%= tag %> + <% end %>
+
- <% if @pinned_links.any? %> -
-
- <% @pinned_links.order(:position).each do |link| %> - <%= link_to link_path(link), target: "_blank", class: 'bg-gray-800 p-3 m-1 rounded hover:underline' do %> - <% if link.icon.present? %> - - <% end %> +<% if @pinned_links.any? %> +
+
+ <% @pinned_links.order(:position).each do |link| %> + <%= link_to link_path(link), target: "_blank", class: 'bg-gray-800 p-3 m-1 rounded hover:underline' do %> + <% if link.icon.present? %> + <% end %> <% end %> -
+ <% end %>
+
<% end %> -
-

<%= auto_link_urls(@user.description || "") %>

-
+
+

<%= auto_link_urls(@user.description || "") %>

- +<% end %> @@ -85,10 +86,6 @@ <% end %>
-<% else %> -
-

No achievements to display.

-
<% end %> <% if @user.public_analytics %>