Sha256: 571179c4e59554258b0937949e14cb3a3edbdffb4c2dd64e9c31cd29fa6051f2

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

<header class="header--primary">
  <div class="wrapper">
    <nav class="header--primary__nav">
      <ul class="nav nav--primary">
        <div class="nav--primary__right">
          <li class="nav__item nav--primary__item">
            <%= link_to '#', class: 'nav__link nav--primary__link nav--primary__link--user' do %>
              <div class="user">
                <div class="user__name">
                  Admin
                </div>
              </div>
            <% end %>
            <ul class="nav--dropdown">
              <li class="nav__item nav--primary__item">
                <%= link_to "Logout", '#', method: :delete, class: 'nav__link nav--primary__link' %>
              </li>
            </ul>
          </li>
        </div>
        <li class="nav__item nav--primary__item nav--primary__item--toggle">
          <a class="nav__link nav--primary__link nav--primary__link--toggle" toggle-menu="nav--primary__collapse" toggle-modifier="--active">
            <%= inline_svg "admin/hamburger.svg" %>
          </a>
        </li>
        <div class="nav--primary__collapse">
          <li class="nav__item nav--primary__item nav--primary__item--left">
            <%= link_to "Dashboard", admin_path, class: "nav__link nav--primary__link" %>
          </li>
          <li class="nav__item nav--primary__item nav--primary__item--left">
            <%= link_to "Styleguide", admin_styleguide_path, class: 'nav__link nav--primary__link' %>
          </li>
        </div>
      </ul>
    </nav>
  </div>
</header>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ceo-0.2.0 app/views/layouts/admin/_header.html.erb