Sha256: 8620f3d094ea11c4b75ae374f266ecf97d631bdf72430fd628e221c6fd7a6414
Contents?: true
Size: 1.26 KB
Versions: 14
Compression:
Stored size: 1.26 KB
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"> <%= render partial: "avo/partials/logo" %> <div class="flex-1 flex flex-col justify-between"> <div class="tools py-4"> <%= render Avo::NavigationLinkComponent.new label: 'Get started', path: avo.root_path, active: :exclusive if Rails.env.development? && Avo.configuration.home_path.nil? %> <%= render Avo::NavigationHeadingComponent.new label: t('avo.resources') %> <div class="w-full"> <% Avo::App.resources_navigation(_current_user).sort_by { |r| r.navigation_label }.each do |resource| %> <%= render Avo::NavigationLinkComponent.new label: resource.navigation_label, path: resources_path(resource: resource) %> <% end %> <% sidebar_partials = Avo::App.get_sidebar_partials %> <% if sidebar_partials.present? %> <%= render Avo::NavigationHeadingComponent.new label: t('avo.tools') %> <% sidebar_partials.each do |partial| %> <%= render partial: "/avo/sidebar/items/#{partial}" %> <% end %> <% end %> </div> </div> <%= render_license_warnings %> </div> </div> </div>
Version data entries
14 entries across 14 versions & 1 rubygems