<aside class="bg-dark text-white p-4 rounded">
  <nav>
    <ul class="nav nav-pills nav-pills-dark flex-column">
      <li class="nav-item">
        <%= link_to fa_icon("globe fw", text: "Accounts"), [:admin, :accounts], class: class_string("nav-link", "active" => controller_name == "accounts") %>
      </li>
      <li class="nav-item">
        <%= link_to fa_icon("users fw", text: "Users"), [:admin, :users], class: class_string("nav-link", "active" => controller_name == "users") %>
      </li>
      <li class="nav-item">
        <%= link_to fa_icon("bug fw", text: "Errors"), "https://sentry.io/bigmedia/", class: "nav-link", target: :_blank %>
      </li>
      <% if ENV["REDIS_URL"] %>
        <li class="nav-item">
          <%= link_to fa_icon("cogs fw", text: "Background Queue"), [:admin, :background_queue], class: "nav-link" %>
        </li>
      <% end %>
    </ul>
  </nav>
</aside>
