<nav class="top-bar" data-topbar role="navigation">
  <ul class="title-area">
    <li class="name">
      <h1><%= link_to "Can I Afford This?", root_path %></h1>
    </li>
     <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
    <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
  </ul>

  <section class="top-bar-section">
    <!-- Right Nav Section -->
    <ul class="right">
      <% if logged_in? %>
        <li class="active"><%= link_to "My Profile", profile_path(session[:user_id]) %></li>
        <li><%= link_to "Planned Purchases", userpurchases_path(session[:user_id]) %></li>
        <li><%= link_to "Logout", logout_path, method: :delete %></li>
      <% else %>
        <li><%= link_to "Login", '/login', "data-reveal-id" => "firstModal" %></li>
        <li><%= link_to "Sign up", new_user_path, "data-reveal-id" => "secondModal" %></li>
      <% end %>
    </ul>
  </section>
</nav>

<%= render "layouts/modal" %>
<nav class="top-bar" data-topbar role="navigation">
  <ul class="title-area">
    <li class="name">
      <h1><%= link_to "Can I Afford This?", root_path %></h1>
    </li>
     <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
    <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
  </ul>

  <section class="top-bar-section">
    <!-- Right Nav Section -->
    <ul class="right">
      <% if logged_in? %>
        <li class="active"><%= link_to "My Profile", profile_path(session[:user_id]) %></li>
        <li><%= link_to "Planned Purchases", userpurchases_path(session[:user_id]) %></li>
        <li><%= link_to "Comparison", expensesheets_path(current_user) %></li>
        <li><%= link_to "Logout", logout_path, method: :delete %></li>
      <% else %>
        <li><%= link_to "Login", '/login', "data-reveal-id" => "firstModal" %></li>
        <li><%= link_to "Sign up", new_user_path, "data-reveal-id" => "secondModal" %></li>
      <% end %>
    </ul>
  </section>
</nav>

<%= render "layouts/modal" %>
Add link to expense sheet
Add link to expense sheet
