mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							1.0 KiB
						
					
					
				<div class="max-w-6xl mb-4 mx-auto px-4 md:px-2 py-3 flex items-center justify-between">
 | 
						|
  <a href="<%= root_path %>" class="text-2xl font-bold items-center flex space-x-2">
 | 
						|
    <%= render 'shared/logo' %>
 | 
						|
    <span>DocuSeal</span>
 | 
						|
  </a>
 | 
						|
  <% if signed_in? %>
 | 
						|
    <div class="space-x-6">
 | 
						|
      <%= link_to 'Settings', settings_storage_index_path, class: 'font-medium text-lg' %>
 | 
						|
      <div class="dropdown dropdown-end z-50">
 | 
						|
        <label tabindex="0" class="cursor-pointer bg-base-content text-purple-300 rounded-full w-8 p-2">
 | 
						|
          <span class="text-sm align-text-top"><%= current_user.initials %></span>
 | 
						|
        </label>
 | 
						|
        <ul tabindex="0" class="dropdown-content p-2 mt-2 shadow menu bg-base-100 rounded-box whitespace-nowrap">
 | 
						|
          <li>
 | 
						|
            <%= link_to 'Profile', settings_profile_index_path, class: 'text-right' %>
 | 
						|
          </li>
 | 
						|
          <li>
 | 
						|
            <%= link_to 'Sign out', destroy_user_session_path, data: { turbo_method: :delete } %>
 | 
						|
          </li>
 | 
						|
        </ul>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  <% end %>
 | 
						|
</div>
 |