<commit_before><div class="navbar <% if Rails.env.development? %>devbar<% end %> navbar-inverse navbar-static-top" data-headroom data-tolerance="5" data-offset="205" data-classes="{"initial":"animated","pinned":"slideDown","unpinned":"slideUp","top":"headroom--top","notTop":"headroom--not-top"}">
  <div class="container-fluid">

    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#platform-navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="text-brand navbar-brand" href="<%= root_path %>">
        <span class="brand">
          <span class="icon icon-logo-filled"></span>
          <% if !user_signed_in? %>
            Assembly
          <% end %>
        </span>
      </a>
    </div>

    <div class="collapse navbar-collapse" id="platform-navbar-collapse">

      <% if user_signed_in? %>
        <form action="<%= scoped_search_path %>" class="navbar-form navbar-left" style="<% if user_signed_in? %>padding-left: 4px;<% end %>">
          <div class="form-group">
            <input type="text" name="q" value="<%= params[:q] %>" class="form-control" autocomplete="off"
              placeholder="<%= @product ? "Search #{@product.name}…" : "Search…" %>"  />
            <input type="hidden" name="type" value="<%= @type %>">
          </div>
          <!-- <button type="submit" class="btn btn-default">Search</button> -->
        </form>
      <% end %>

      <ul class="nav navbar-nav">

        <li class="<%= 'active' if nav_active?(:platform_discover) %>">
          <a href="<%= discover_path %>">Discover</a>
        </li>

        <li class="<%= 'active' if nav_active?(:platform_start) %>">
          <a href="<%= new_product_path %>">Create</a>
        </li>

        <li class="<%= 'active' if nav_active?(:getting_started) %>">
          <a href="<%= getting_started_path %>">Get Started</a>
        </li>
      </ul>

      <div class="navbar-right">
        <% if user_signed_in? %>

          <ul class="nav navbar-nav navbar-notifications" data-react-class="Notifications"
            data-react-props="<%= {url: unread_path, username: current_user.username }.to_json %>"></ul>

          <ul class="nav navbar-nav">

            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <%= avatar_tag(current_user, 22) %>
                <span style="margin-left: 5px;"><%= current_user.username %></span>
                <b class="caret"></b>
              </a>

              <ul class="dropdown-menu">
                <li>
                  <a href="<%= user_path(current_user) %>">
                    View Profile
                  </a>
                </li>
                <li>
                  <a href="<%= edit_user_path(current_user) %>">
                    Settings
                  </a>
                </li>
                <li class="divider"></li>
                <li>
                  <a href="<%= destroy_user_session_path %>" data-method="delete">
                    Log out
                  </a>
                </li>
              </ul>
            </li>
          </ul>
        <% else %>
          <ul class="nav navbar-nav">
            <li>
              <a href="<%= new_user_session_path %>">
                Log in
              </a>
            </li>

            <li>
              <a href="<%= new_user_registration_path %>">
                Sign up
              </a>
            </li>
          </ul>
        <% end %>

        </ul>
      </div>
    </div>
  </div><commit_msg>Changed sign up link to green button in navbar<commit_after><div class="navbar <% if Rails.env.development? %>devbar<% end %> navbar-inverse navbar-static-top" data-headroom data-tolerance="5" data-offset="205" data-classes="{"initial":"animated","pinned":"slideDown","unpinned":"slideUp","top":"headroom--top","notTop":"headroom--not-top"}">
  <div class="container-fluid">

    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#platform-navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="text-brand navbar-brand" href="<%= root_path %>">
        <span class="brand">
          <span class="icon icon-logo-filled"></span>
          <% if !user_signed_in? %>
            Assembly
          <% end %>
        </span>
      </a>
    </div>

    <div class="collapse navbar-collapse" id="platform-navbar-collapse">

      <% if user_signed_in? %>
        <form action="<%= scoped_search_path %>" class="navbar-form navbar-left" style="<% if user_signed_in? %>padding-left: 4px;<% end %>">
          <div class="form-group">
            <input type="text" name="q" value="<%= params[:q] %>" class="form-control" autocomplete="off"
              placeholder="<%= @product ? "Search #{@product.name}…" : "Search…" %>"  />
            <input type="hidden" name="type" value="<%= @type %>">
          </div>
          <!-- <button type="submit" class="btn btn-default">Search</button> -->
        </form>
      <% end %>

      <ul class="nav navbar-nav">

        <li class="<%= 'active' if nav_active?(:platform_discover) %>">
          <a href="<%= discover_path %>">Discover</a>
        </li>

        <li class="<%= 'active' if nav_active?(:platform_start) %>">
          <a href="<%= new_product_path %>">Create</a>
        </li>

        <li class="<%= 'active' if nav_active?(:getting_started) %>">
          <a href="<%= getting_started_path %>">Get Started</a>
        </li>
      </ul>

      <div class="navbar-right">
        <% if user_signed_in? %>

          <ul class="nav navbar-nav navbar-notifications" data-react-class="Notifications"
            data-react-props="<%= {url: unread_path, username: current_user.username }.to_json %>"></ul>

          <ul class="nav navbar-nav">

            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <%= avatar_tag(current_user, 22) %>
                <span style="margin-left: 5px;"><%= current_user.username %></span>
                <b class="caret"></b>
              </a>

              <ul class="dropdown-menu">
                <li>
                  <a href="<%= user_path(current_user) %>">
                    View Profile
                  </a>
                </li>
                <li>
                  <a href="<%= edit_user_path(current_user) %>">
                    Settings
                  </a>
                </li>
                <li class="divider"></li>
                <li>
                  <a href="<%= destroy_user_session_path %>" data-method="delete">
                    Log out
                  </a>
                </li>
              </ul>
            </li>
          </ul>
        <% else %>
          <ul class="nav navbar-nav">
            <li>
              <a href="<%= new_user_session_path %>">
                Log in
              </a>
            </li>

            <li>
              <div class="navbar-form">
                <a class="btn btn-success" href="<%= new_user_registration_path %>">Sign up</a>
              </div>
            </li>
          </ul>
        <% end %>

        </ul>
      </div>
    </div>
  </div>
{'fraction_non_alphanumeric': 0.18601269169751455, 'fraction_numerical': 0.0021152829190904283, 'mean_word_length': 1.8008145131432802, 'pattern_counts': {'":': 10, '<': 239, '<?xml version=': 0, '>': 239, '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': '3846906', 'n_tokens_mistral': 2446, 'n_tokens_neox': 2216, 'n_words': 447}