<%= content_for :content do %>
<%= render "shared/logo" %>

<%= content_for?(:header_title) ? yield(:header_title).html_safe : t(".your_account") %>

<% if controller_name == "sessions" %>

<%= t(".or") %> <%= link_to t(".sign_up"), new_registration_path, class: "font-medium text-gray-600 hover:text-gray-400 transition" %>

<% elsif controller_name == "registrations" %>

<%= t(".or") %> <%= link_to t(".sign_in"), new_session_path, class: "font-medium text-gray-600 hover:text-gray-400 transition" %>

<% end %>
<%= yield %>

<%= link_to t(".privacy_policy"), "/privacy", class: "font-medium text-gray-600 hover:text-gray-400 transition" %> • <%= link_to t(".terms_of_service"), "/terms", class: "font-medium text-gray-600 hover:text-gray-400 transition" %>

<% end %> <%= render template: "layouts/application" %>