- <%= link_to current_user.display_name, current_user %>
+
+
+ <%= link_to current_user do %>
+ <%= image_tag current_user.image_url(size=32), class: 'rounded-full mr-2 p-1 border-2 border-notebook-blue' %>
+ <% end %>
+
+
You're signed in as
+
+ <%= link_to current_user.display_name, current_user %>
+
-
- <%= link_to current_user.profile_url, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
-
<%= User.icon %>
-
Profile
- <% end %>
- <%= link_to main_app.subscription_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
-
credit_card
-
Billing
-
- PREMIUM
-
- <% end %>
- <%= link_to main_app.edit_user_registration_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white border-b border-gray-300' do %>
-
settings
-
Settings
- <% end %>
- <%= link_to main_app.data_vault_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
-
lock
-
Data Vault
- <% end %>
- <%= link_to main_app.help_center_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white border-b border-gray-300' do %>
-
help
-
Help Center
- <% end %>
- <%= link_to main_app.destroy_user_session_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
-
power_settings_new
-
Sign Out
- <% end %>
+ <%= link_to current_user.profile_url, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
+
<%= User.icon %>
+
Profile
+ <% end %>
+ <%= link_to main_app.subscription_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
+
credit_card
+
Billing
+
+ PREMIUM
+
+ <% end %>
+ <%= link_to main_app.edit_user_registration_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white border-b border-gray-300' do %>
+
settings
+
Settings
+ <% end %>
+ <%= link_to main_app.data_vault_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
+
lock
+
Data Vault
+ <% end %>
+ <%= link_to main_app.help_center_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white border-b border-gray-300' do %>
+
help
+
Help Center
+ <% end %>
+ <%= link_to main_app.destroy_user_session_path, class: 'flex items-center px-4 py-2 cursor-pointer group hover:bg-notebook-blue hover:text-white' do %>
+
power_settings_new
+
Sign Out
+ <% end %>
+