<% if signed_in? %>
<% if Docuseal.demo? %>
<%= render 'shared/github_button' %>
<% else %>
<%= link_to Docuseal.multitenant? ? console_redirect_index_path : Docuseal::CONSOLE_URL, class: 'hidden md:inline-flex items-center font-medium text-lg', data: { prefetch: false } do %>
Console
New
<% end %>
<%= link_to 'Settings', settings_profile_index_path, class: 'hidden md:inline-flex font-medium text-lg' %>
<% end %>
-
<%= link_to settings_profile_index_path, class: 'flex items-center' do %>
<%= svg_icon('adjustments', class: 'w-5 h-5 stroke-2') %>
Profile
<% end %>
<% unless Docuseal.demo? %>
-
<%= link_to Docuseal.multitenant? ? console_redirect_index_path : Docuseal::CONSOLE_URL, data: { prefetch: false }, class: 'flex items-center' do %>
<%= svg_icon('terminal', class: 'w-5 h-5 stroke-2') %>
Console
<% end %>
<% end %>
-
<%= link_to settings_esign_path, class: 'flex items-center' do %>
<%= svg_icon('zoom_check', class: 'w-5 h-5 stroke-2') %>
Verify PDF
<% end %>
-
<%= button_to destroy_user_session_path, method: :delete, data: { turbo: false }, class: 'flex items-center' do %>
<%= svg_icon('logout', class: 'w-5 h-5 stroke-2 mr-2 inline') %>
Sign out
<% end %>
<% else %>
<%= link_to new_user_session_path, class: 'font-medium text-lg' do %>
<%= svg_icon('login', class: 'w-6 h-6') %>
Sign in
<% end %>
<% if Docuseal.multitenant? %>
<%= link_to registration_path, class: 'font-medium text-lg hidden md:inline' do %>
<%= svg_icon('user_plus', class: 'w-6 h-6') %>
Try for Free
<% end %>
<% end %>
<% end %>