<header>
  <nav class="top">
    <div class="menu-wrapper">
      <p class="navigation-menu-button" id="js-mobile-menu">MENU</p>
      <div id="navigation-menu" class="nav">
        <div class="gathers">
          <ul>
            <% if cuser and cuser.admin? %>
              <li>
                <%= link_to("/about/adminpanel", class: "admin") do %>
                  Admin (<%= Issue.with_status(0).count  %>) 
                <% end %>
              </li>
            <% end %>
            <li>
              <%= link_to("/gathers/latest/ns1") do %>
                NS1 Gather (<%= Gather.player_count_for_game('NS1') %>)
              <% end %>
            </li>
            <li>
              <%= link_to("/gathers/latest/ns2") do %>
                NS2 Gather (<%= Gather.player_count_for_game('NS2') %>)
              <% end %>
            </li>
          </ul>
        </div>
        <div class="pages">
          <ul>
            <li><%= link_to "Staff", controller: "about", action: "staff" %></li>
            <li><%= link_to "History", article_url(Article::HISTORY) %></li>
            <li><%= link_to "Rules", article_url(Article::RULES) %></li>
            <li><%= link_to "Hall of Fame", article_url(Article::HOF) %></li>
            <li><%= link_to "Bans", bans_url %></li>
            <li><%= link_to "Contact", new_issue_path %></li>
          </ul>
        </div>
      </div>
    </div>
  </nav>
  <div class="wrapper banner">
    <div id="logo">
      <%= image_tag "logo.png" %>
    </div>
    <div id="authentication">
      <% if cuser %>
        <%= render partial: "widgets/logged" %>
      <% else %>
        <%= render partial: "widgets/login" %>
      <% end %>
    </div>
  </div>
</header>
