Sha256: 8ea15f05ada9c0a4f3a15ac5067d42787e87757d4666e8914ba1f60aa4700908

Contents?: true

Size: 1.69 KB

Versions: 19

Compression:

Stored size: 1.69 KB

Contents

<div <%== data_attributes %>>
  <% if render_header? %>
    <div class="flex-1 flex flex-col xl:flex-row justify-between mb-4">
      <div class="overflow-hidden flex flex-col">
        <% if display_breadcrumbs? %>
          <div class="breadcrumbs truncate mb-2">
            <%= helpers.render_breadcrumbs(separator: helpers.svg('chevron-right', class: 'inline-block h-3 stroke-current relative top-[-1px] ml-1' )) if Avo.configuration.display_breadcrumbs %>
          </div>
        <% end %>

        <div class="text-2xl tracking-normal font-semibold text-gray-800 truncate items-center flex flex-1" data-target="title">
          <span><%= @title %></span>
        </div>

        <% if description.present? %>
        <div class="text-sm tracking-normal font-medium text-gray-600" data-target="description">
          <%== description %>
        </div>
        <% end %>
      </div>

      <% if tools.present? %>
        <div class="flex-1 w-full flex flex-col sm:flex-row xl:justify-end sm:items-end space-y-2 sm:space-y-0 sm:space-x-2 mt-4 xl:mt-0">
          <%= tools %>
        </div>
      <% end %>
    </div>
  <% end %>

  <div class="relative <%= white_panel_classes %> <%= @body_classes %>">
    <%= body %>
  </div>

  <div class="relative">
    <%= bare_content %>
  </div>

  <% if footer_tools.present? %>
    <div class="<%= white_panel_classes %> p-4 flex-1 flex flex-col xl:flex-row justify-between mt-6">
      <div class="flex-1 w-full flex flex-col sm:flex-row xl:justify-end sm:items-end space-y-2 sm:space-y-0 sm:space-x-2 mt-4 xl:mt-0">
        <%= footer_tools %>
      </div>
    </div>
  <% end %>

  <div class="flex justify-end w-full">
    <div>
      <%= footer %>
    </div>
  </div>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
avo-2.9.2.pre1 app/components/avo/panel_component.html.erb
avo-2.9.1.pre7 app/components/avo/panel_component.html.erb
avo-2.9.1.pre6 app/components/avo/panel_component.html.erb
avo-2.9.1.pre5 app/components/avo/panel_component.html.erb
avo-2.9.1.pre4 app/components/avo/panel_component.html.erb
avo-2.9.1.pre3 app/components/avo/panel_component.html.erb
avo-2.9.1.pre2 app/components/avo/panel_component.html.erb
avo-2.9.1.pre1 app/components/avo/panel_component.html.erb
avo-2.9.0 app/components/avo/panel_component.html.erb
avo-2.8.0 app/components/avo/panel_component.html.erb
avo-2.7.1.pre.1 app/components/avo/panel_component.html.erb
avo-2.7.0 app/components/avo/panel_component.html.erb
avo-2.6.1.pre.2 app/components/avo/panel_component.html.erb
avo-2.6.1.pre.1 app/components/avo/panel_component.html.erb
avo-2.6.0 app/components/avo/panel_component.html.erb
avo-2.5.2.pre.6 app/components/avo/panel_component.html.erb
avo-2.5.2.pre.5 app/components/avo/panel_component.html.erb
avo-2.5.2.pre.4 app/components/avo/panel_component.html.erb
avo-2.5.2.pre.3 app/components/avo/panel_component.html.erb