Sha256: d6b94a1010963e41829e7466de3f9edc54599a6291475001f993985d0c8dd1da

Contents?: true

Size: 1.4 KB

Versions: 17

Compression:

Stored size: 1.4 KB

Contents

<%# locals: (sidebar_toggle:) %>

<%= render_component :resource_header, sidebar_toggle: do |header| %>
  <% header.with_action do %>
    <%=
      render_component :nav_grid_menu, label: "Apps" do |menu|
        menu.with_item url: "#", name: "Sales", icon: "outline/sale-percent"
        menu.with_item url: "#", name: "Users", icon: "outline/users"
      end
    %>
  <% end %>

  <% header.with_action do %>
    <%= render_component :nav_user, email: current_user.try(:email) || current_user, logout_url: try(:logout_url) do |nav_user| %>
      <% nav_user.with_section do |section| %>
        <% section.with_link url: "#", label: "My profile" %>
        <% section.with_link url: "#", label: "Account settings" %>
      <% end %>

      <% nav_user.with_section do |section| %>
        <% section.with_link url: "#", label: "My likes" do |link| %>
          <% link.with_leading do %>
            <%= render_icon "outline/heart", classname: "mr-2 text-gray-400" %>
          <% end %>
        <% end %>

        <% section.with_link url: "#", label: "Pro version" do |link| %>
          <% link.with_leading do %>
            <%= render_icon "outline/fire", classname: "mr-2 text-primary-600 dark:text-primary-500" %>
          <% end %>
          <% link.with_trailing do %>
            <%= render_icon "outline/angle-right", size: :sm %>
          <% end %>
        <% end %>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
plutonium-0.15.13 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.12 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.11 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.10 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.9 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.8 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.7 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.6 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.5 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.4 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.3 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.2 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.1 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.0 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.0.pre.rc3 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.0.pre.rc2 app/views/plutonium/_resource_header.html.erb
plutonium-0.15.0.pre.rc1 app/views/plutonium/_resource_header.html.erb