Sha256: 35525fdbfc8c21170ef73b4f1c19c3e24cb527707a67d07043edd8192efa6b75

Contents?: true

Size: 292 Bytes

Versions: 31

Compression:

Stored size: 292 Bytes

Contents

<%= link_to @path, class: "#{current_page?(@path) ? 'bg-tybo-800 text-white hover:bg-tybo-800' : ''} group flex items-center px-2 py-2 text-sm font-medium rounded-md hover:bg-tybo-800" do %>
  <%= render(@icon.new) %>

  <span class="flex-1 text-white">
    <%= @label %>
  </span>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
tybo-0.3.26 app/components/sidebar_item_component.html.erb
tybo-0.3.24 app/components/sidebar_item_component.html.erb
tybo-0.3.23 app/components/sidebar_item_component.html.erb
tybo-0.3.22 app/components/sidebar_item_component.html.erb
tybo-0.3.21 app/components/sidebar_item_component.html.erb
tybo-0.3.20 app/components/sidebar_item_component.html.erb
tybo-0.3.19 app/components/sidebar_item_component.html.erb
tybo-0.3.18 app/components/sidebar_item_component.html.erb
tybo-0.3.17 app/components/sidebar_item_component.html.erb
tybo-0.3.16 app/components/sidebar_item_component.html.erb
tybo-0.3.15 app/components/sidebar_item_component.html.erb
tybo-0.3.14 app/components/sidebar_item_component.html.erb
tybo-0.3.13 app/components/sidebar_item_component.html.erb
tybo-0.3.12 app/components/sidebar_item_component.html.erb
tybo-0.3.11 app/components/sidebar_item_component.html.erb
tybo-0.3.10 app/components/sidebar_item_component.html.erb
tybo-0.3.9 app/components/sidebar_item_component.html.erb
tybo-0.3.8 app/components/sidebar_item_component.html.erb
tybo-0.3.7 app/components/sidebar_item_component.html.erb
tybo-0.3.6 app/components/sidebar_item_component.html.erb