<nav class="navbar is-primary" role="navigation" aria-label="main navigation">
  <div class="navbar-brand">
    <%= link_to(root_path, class: "navbar-item") do %>
      <%= fa_stacked_icon("cubes", base: "shield", base_type: :fal) %>
      <%= App::TITLE %>
    <% end %>

    <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
      <span aria-hidden="true"></span>
      <span aria-hidden="true"></span>
      <span aria-hidden="true"></span>
    </a>
  </div>

  <div class="navbar-menu">
    <div class="navbar-start">
      <%= link_to(fab_icon("bitcoin", text: "Some Link"), "#", class: "navbar-item") %>
    </div>

    <div class="navbar-end">
      <% if current_user %>
        <%= render "shared/navbar/admin_navbar" if current_user.admin? %>
        <%= render "shared/navbar/user_navbar" %>
      <% else %>
        <%= link_to(fa_icon("user-plus", text: "Sign up"), new_user_registration_path, class: "navbar-item") %>
        <%= link_to(fa_icon("user-lock", text: "Log in"), new_user_session_path, class: "navbar-item") %>
      <% end %>
    </div>
  </div>
</nav>
