Sha256: f44ba96cc408d23e685faf846a661c9473788dec07963cf53e619484ab95d753

Contents?: true

Size: 1.06 KB

Versions: 30

Compression:

Stored size: 1.06 KB

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: 'avo/menu', size: :xs, compact: true, style: :text, data: { action: 'click->sidebar#toggleSidebarOnMobile' }, aria: {label: "Toggle sidebar"} %>
      <%= a_button class: 'hidden lg:block', icon: 'avo/menu', size: :xs, compact: true, style: :text, data: { action: 'click->sidebar#toggleSidebar' }, aria: {label: "Toggle sidebar"} %>
    </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(resource:) if defined?(Avo::Pro::GlobalSearchComponent) %>
    <div class="m-0">
      <%= render partial: "avo/partials/header" %>
    </div>
  </div>
<% end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
avo-3.17.9 app/views/avo/partials/_navbar.html.erb
avo-3.17.8 app/views/avo/partials/_navbar.html.erb
avo-3.17.7 app/views/avo/partials/_navbar.html.erb
avo-3.17.6 app/views/avo/partials/_navbar.html.erb
avo-3.17.5 app/views/avo/partials/_navbar.html.erb
avo-3.17.4 app/views/avo/partials/_navbar.html.erb
avo-3.17.3 app/views/avo/partials/_navbar.html.erb
avo-3.17.2 app/views/avo/partials/_navbar.html.erb
avo-3.17.1 app/views/avo/partials/_navbar.html.erb
avo-3.17.0 app/views/avo/partials/_navbar.html.erb
avo-3.16.6 app/views/avo/partials/_navbar.html.erb
avo-3.16.5 app/views/avo/partials/_navbar.html.erb
avo-3.16.4 app/views/avo/partials/_navbar.html.erb
avo-3.16.3 app/views/avo/partials/_navbar.html.erb
avo-3.16.2 app/views/avo/partials/_navbar.html.erb
avo-3.16.1 app/views/avo/partials/_navbar.html.erb
avo-3.16.0 app/views/avo/partials/_navbar.html.erb
avo-3.15.7 app/views/avo/partials/_navbar.html.erb
avo-3.15.6 app/views/avo/partials/_navbar.html.erb
avo-3.15.5 app/views/avo/partials/_navbar.html.erb