Sha256: 1a07d065c199c4e1c04c611b121136acd1c938b6806f9b56ec9abee1f7a496fd

Contents?: true

Size: 1.71 KB

Versions: 17

Compression:

Stored size: 1.71 KB

Contents

<ul id="nav-bar" class="nav align-items-center d-flex justify-content-end navbar-right">
  <li>
    <div class="navbar-right-search-menu">
      <button type="button" class="navbar-right-dropdown-toggle search-icons" aria-label="<%= Spree.t('nav_bar.show_search')%>">
        <%= icon(name: 'magnifying-glass',
                 classes: 'd-none d-xl-inline-block',
                 width: 36,
                 height: 36)  %>

        <%= icon(name: 'magnifying-glass',
                 classes: 'd-xl-none',
                 width: 24,
                 height: 24)  %>
      </button>

      <div id="search-dropdown" class="p-0 px-md-4 py-md-2 w-100 shadow navbar-right-search-menu-dropdown hide-on-esc">
        <%= render partial: 'spree/shared/search' %>
      </div>
    </div>
  </li>
  <% if defined?(spree.account_link_path) %>
    <li>
      <div class="dropdown navbar-right-dropdown">
        <button id="account-button" type="button" data-toggle="dropdown" class="navbar-right-dropdown-toggle" aria-label="<%= Spree.t('nav_bar.show_user_menu')%>">
          <%= icon(name: 'person',
                  classes: 'd-none d-xl-inline-block',
                  width: 41.4,
                  height: 36)  %>

          <%= icon(name: 'person',
                  classes: 'd-xl-none',
                  width: 27.6,
                  height: 24)  %>
        </button>

        <div id="link-to-account" class="dropdown-menu dropdown-menu-right text-right">
        </div>
      </div>
    </li>
  <% end %>
  <li id="link-to-cart">
    <%= render 'spree/shared/cart', class: 'd-none d-xl-inline-block cart-icon--xl', size: 36, item_count: 0 %>
    <%= render 'spree/shared/cart', class: 'd-xl-none', size: 24, item_count: 0 %>
  </li>
</ul>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_frontend-4.1.15 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.14 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.13.1 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.13 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.12 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.11 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.10 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.9 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.8 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.7 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.6 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.5 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.4 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.3 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.2 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.1 app/views/spree/shared/_nav_bar.html.erb
spree_frontend-4.1.0 app/views/spree/shared/_nav_bar.html.erb