adjust sign up header buttons

This commit is contained in:
DocuSeal
2023-10-15 00:58:03 +03:00
parent c621166b45
commit 60b32fec94
+12 -11
View File
@@ -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>Sign in</span>
</span>
<% end %>
<% if Docuseal.multitenant? %>
<%= link_to registration_path, class: 'font-medium text-lg hidden md:inline' 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') %> <%= svg_icon('login', class: 'w-6 h-6') %>
<span>Try for Free</span> <span>Sign in</span>
</span>
<% end %>
<% end %>
<% if Docuseal.multitenant? && !request.path.in?([registration_path, new_registration_path])%>
<%= link_to registration_path, class: 'btn btn-neutral btn-sm btn-outline' do %>
<span class="flex items-center justify-center space-x-1">
<span>Create free Account</span>
</span> </span>
<% end %> <% end %>
<% end %> <% end %>