adjust sign up header buttons

pull/133/head
DocuSeal 2 years ago
parent c621166b45
commit 60b32fec94

@ -63,18 +63,19 @@
</div> </div>
</div> </div>
<% else %> <% else %>
<div class="flex space-x-6"> <div class="flex space-x-2">
<%= link_to new_user_session_path, class: 'font-medium text-lg' do %> <% if request.path != new_user_session_path %>
<span class="flex items-center justify-center space-x-1"> <%= link_to new_user_session_path, class: 'font-medium text-lg' do %>
<%= svg_icon('login', class: 'w-6 h-6') %> <span class="flex items-center justify-center space-x-1">
<span>Sign in</span> <%= svg_icon('login', class: 'w-6 h-6') %>
</span> <span>Sign in</span>
</span>
<% end %>
<% end %> <% end %>
<% if Docuseal.multitenant? %> <% if Docuseal.multitenant? && !request.path.in?([registration_path, new_registration_path])%>
<%= link_to registration_path, class: 'font-medium text-lg hidden md:inline' do %> <%= link_to registration_path, class: 'btn btn-neutral btn-sm btn-outline' do %>
<span class="flex items-center justify-center space-x-1"> <span class="flex items-center justify-center space-x-1">
<%= svg_icon('user_plus', class: 'w-6 h-6') %> <span>Create free Account</span>
<span>Try for Free</span>
</span> </span>
<% end %> <% end %>
<% end %> <% end %>

Loading…
Cancel
Save