Sha256: c4b21593d28f3b3bd1ea7a5f7f2d80a0a459d0abcd25ad42384071bec4993f84

Contents?: true

Size: 948 Bytes

Versions: 19

Compression:

Stored size: 948 Bytes

Contents

<div class="application-sidebar flex h-full bg-white text-white w-56 z-50 border-r border-gray-300">
  <div class="flex flex-col w-full">
    <%= link_to root_path, class: 'logo-placeholder h-16 bg-white p-2 flex justify-center' do %>
      <%= render_logo %>
    <% end %>

    <div class="flex-1 flex flex-col justify-between">
      <div class="tools py-4">
        <%= render Avo::NavigationLinkComponent.new label: 'Get started', path: '/avo', active: :exclusive if Rails.env.development? %>
        <%= render Avo::NavigationHeadingComponent.new label: t('avo.resources') %>

        <div class="w-full">
          <% Avo::App.get_navigation_items(_current_user).each do |resource| %>
            <%= render Avo::NavigationLinkComponent.new label: resource.name.pluralize.humanize, path: resources_path(resource.model_class) %>
          <% end %>
        </div>

      </div>

      <%= render_license_warnings %>
    </div>
  </div>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
avo-1.0.5 app/views/avo/sidebar/_sidebar.html.erb
avo-1.0.4 app/views/avo/sidebar/_sidebar.html.erb
avo-1.0.2 app/views/avo/sidebar/_sidebar.html.erb
avo-1.0.1 app/views/avo/sidebar/_sidebar.html.erb
avo-1.0.0 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta15 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta14 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta13 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta12 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta11 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta10 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta9 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta8 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta7 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta6 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta5 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta4 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta3 app/views/avo/sidebar/_sidebar.html.erb
avo-0.5.0.beta2 app/views/avo/sidebar/_sidebar.html.erb