2024-05-17 09:09:32 -04:00
|
|
|
<%= content_for :content do %>
|
|
|
|
<div class="flex flex-col justify-center min-h-full px-6 py-12">
|
|
|
|
<div class="sm:mx-auto sm:w-full sm:max-w-md">
|
|
|
|
<%= render "shared/logo" %>
|
2024-02-02 17:49:28 -06:00
|
|
|
|
2024-05-17 09:09:32 -04:00
|
|
|
<h2 class="mt-6 text-3xl font-semibold tracking-tight text-center font-display">
|
|
|
|
<%= content_for?(:header_title) ? yield(:header_title).html_safe : t(".your_account") %>
|
|
|
|
</h2>
|
2024-03-11 09:01:50 -05:00
|
|
|
|
2024-05-17 09:09:32 -04:00
|
|
|
<% if controller_name == "sessions" %>
|
2024-09-06 11:37:25 -04:00
|
|
|
<p class="mt-2 text-sm text-center text-gray-600">
|
|
|
|
<%= t(".or") %> <%= link_to t(".sign_up"), new_registration_path, class: "font-medium text-gray-600 hover:text-gray-400 transition" %>
|
|
|
|
</p>
|
2024-05-17 09:09:32 -04:00
|
|
|
<% elsif controller_name == "registrations" %>
|
2024-02-06 14:58:17 -03:00
|
|
|
<p class="mt-2 text-sm text-center text-gray-600">
|
2024-04-09 16:08:58 +04:00
|
|
|
<%= t(".or") %> <%= link_to t(".sign_in"), new_session_path, class: "font-medium text-gray-600 hover:text-gray-400 transition" %>
|
2024-02-06 14:58:17 -03:00
|
|
|
</p>
|
2024-05-17 09:09:32 -04:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2024-02-02 09:05:04 -06:00
|
|
|
|
2024-05-17 09:09:32 -04:00
|
|
|
<div class="mt-8 sm:mx-auto sm:w-full sm:max-w-lg">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2024-02-02 09:05:04 -06:00
|
|
|
|
2024-05-17 09:09:32 -04:00
|
|
|
<div class="p-8 mt-2 text-center">
|
|
|
|
<p class="mt-6 text-sm text-black"><%= 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" %></p>
|
2024-02-02 09:05:04 -06:00
|
|
|
</div>
|
2024-05-17 09:09:32 -04:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= render template: "layouts/application" %>
|