diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 4d6983f..f0b0bf1 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -41,6 +41,10 @@ <%= link_to "Log out", destroy_user_session_path, class: 'underline hover:text-white' %> + <% elsif !user_signed_in? && controller_name != 'sessions' %> +
+ <%= link_to "Log in", new_user_session_path, class: 'underline hover:text-white' %> +
<% end %>
@@ -60,6 +64,11 @@ + <% elsif !user_signed_in? && controller_name != 'sessions' %> +
+ <%= link_to "Log in", new_user_session_path, + class: 'block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-900/30 active:text-white active:bg-gray-900/30' %> +
<% end %>
@@ -100,14 +109,12 @@ <%= yield %> - <% if user_signed_in? && current_user.confirmed? %> - <% end %>