<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title>

    <%= stylesheet_link_tag    "application" %>
    <%= javascript_include_tag "vendor/modernizr" %>
    <%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <header>
      <nav>
        <ul>
          <li><%= link_to "Home", root_path %></li>
          <li><%= link_to "Services", services_path %></li>
          <% if user_signed_in? %>
            <li><%= link_to "Add a Service", new_service_path %></li>

            <!-- The following 2 are for development. Won't be in prod-->
            <li><%= link_to "Service Types", service_types_path %></li>
            <li><%= link_to "Users", users_path %></li>
            
            <!-- I will float the following to the right -->
            <li><%= link_to "My Profile", current_user %></li>
            <li><%= link_to "Edit Profile", edit_user_registration_path %>
            <li><%= link_to "Logout", destroy_user_session_path, method: :delete %></li>
          <% else %>
            <!-- I will float the following to the right -->
            <li><%= link_to "Sign Up", new_user_registration_path %></li>
            <li><%= link_to "Login", new_user_session_path %></li>  
          <% end %>
        </ul>
      </nav>
    </header>

    <main>
      <%= yield %>
    </main>
  </body>
</html>
<commit_msg>Added foundation top bar for navigation<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title>

    <%= stylesheet_link_tag    "application" %>
    <%= javascript_include_tag "vendor/modernizr" %>
    <%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <header>
      <nav class="top-bar" data-topbar role="navigation">
        <ul class="title-area">
          <li class="name">
            <h1><%= link_to "Portal", 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 user_signed_in? %>        
              <!-- I will float the following to the right -->
              <li><%= link_to "My Profile", current_user %></li>
              <li><%= link_to "Edit Profile", edit_user_registration_path %>
              <li><%= link_to "Logout", destroy_user_session_path, method: :delete %></li>
            <% else %>
              <!-- I will float the following to the right -->
              <li><%= link_to "Sign Up", new_user_registration_path %></li>
              <li><%= link_to "Login", new_user_session_path %></li>  
            <% end %>
          </ul>

          <!-- Left Nav Section -->
          <ul class="left">
            <li><%= link_to "Services", services_path %></li>
            <% if user_signed_in? %>
              <li><%= link_to "Add a Service", new_service_path %></li>

              <!-- The following 2 are for development. Won't be in prod-->
              <li><%= link_to "Service Types", service_types_path %></li>
              <li><%= link_to "Users", users_path %></li>          
            <% end %>
          </ul>
        </section>
      </nav>
    </header>

    <main>
      <%= yield %>
    </main>
  </body>
</html>

{'fraction_non_alphanumeric': 0.17988042630621262, 'fraction_numerical': 0.0025994281258123215, 'mean_word_length': 2.110751818916734, 'pattern_counts': {'":': 0, '<': 142, '<?xml version=': 0, '>': 144, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6710835', 'n_tokens_mistral': 1282, 'n_tokens_neox': 1185, 'n_words': 302}