Simplify navbar html

This commit is contained in:
Max Wofford 2025-02-21 15:35:23 -05:00
parent 6e084d5e80
commit 4bac2ad54f

View file

@ -8,10 +8,8 @@
<% if current_user %>
<%= render "shared/user_mention", user: current_user %>
<% if current_user.active_project %>
<div class="project-info">
<div>Currently working on: <%= current_user.active_project %></div>
<div>Duration: <%= current_user.active_project_duration %></div>
</div>
<p>Currently working on: <%= current_user.active_project %></p>
<p>Duration: <%= current_user.active_project_duration %></p>
<% end %>
<%= link_to "Logout", signout_path, data: { turbo_method: :delete } %>
<% else %>