Sha256: 4ee5cff59de09dee5bf42ab80b2a3dfba902a0433e2c28353e7e6b809848802d

Contents?: true

Size: 963 Bytes

Versions: 27

Compression:

Stored size: 963 Bytes

Contents

<%= content_tag :div, class: class_names("fixed bg-white p-2 w-full flex flex-shrink-0 items-center z-[100] px-4 lg:px-4 border-b space-x-4 lg:space-x-0 h-16", {"print:hidden": Avo.configuration.hide_layout_when_printing}) do %>
  <div class="flex items-center space-x-2 w-auto lg:w-64 flex-shrink-0 h-full">
    <div>
      <%= a_button class: 'lg:hidden', icon: 'menu', size: :xs, compact: true, style: :text, data: { action: 'click->sidebar#toggleSidebarOnMobile' } %>
      <%= a_button class: 'hidden lg:block', icon: 'menu', size: :xs, compact: true, style: :text, data: { action: 'click->sidebar#toggleSidebar' } %>
    </div>
    <%= render partial: "avo/partials/logo" %>
  </div>
  <div class="flex-1 flex items-center justify-between lg:justify-start space-x-2 sm:space-x-8 lg:px-2">
    <%= render Avo::Pro::GlobalSearchComponent.new rescue nil %>
    <div class="m-0">
      <%= render partial: "avo/partials/header" %>
    </div>
  </div>
<% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
avo-3.6.4 app/views/avo/partials/_navbar.html.erb
avo-3.6.3 app/views/avo/partials/_navbar.html.erb
avo-3.6.2 app/views/avo/partials/_navbar.html.erb
avo-3.6.1 app/views/avo/partials/_navbar.html.erb
avo-3.6.0 app/views/avo/partials/_navbar.html.erb
avo-3.5.8 app/views/avo/partials/_navbar.html.erb
avo-3.5.7 app/views/avo/partials/_navbar.html.erb
avo-3.5.6 app/views/avo/partials/_navbar.html.erb
avo-3.5.6.beta1 app/views/avo/partials/_navbar.html.erb
avo-3.5.5 app/views/avo/partials/_navbar.html.erb
avo-3.5.4 app/views/avo/partials/_navbar.html.erb
avo-3.5.3 app/views/avo/partials/_navbar.html.erb
avo-3.5.2 app/views/avo/partials/_navbar.html.erb
avo-3.5.1 app/views/avo/partials/_navbar.html.erb
avo-3.5.0 app/views/avo/partials/_navbar.html.erb
avo-3.4.4 app/views/avo/partials/_navbar.html.erb
avo-3.4.3 app/views/avo/partials/_navbar.html.erb
avo-3.4.2 app/views/avo/partials/_navbar.html.erb
avo-3.4.1 app/views/avo/partials/_navbar.html.erb
avo-3.4.0 app/views/avo/partials/_navbar.html.erb