Sha256: 134bbfd1d64689f8307fe23363acac160eec74f006bcf1a2c03e34bb82cfdb6b

Contents?: true

Size: 406 Bytes

Versions: 62

Compression:

Stored size: 406 Bytes

Contents

<% if path.present? %>
  <%= send link_method, path, class: classes, active: active, target: target do %>
    <%= label %>
    <% if target == :_blank %>
      <%= helpers.svg('heroicons/outline/external-link', class: 'self-center ml-auto h-3 mr-2') %>
    <% end %>
  <% end %>
<% else %>
  <%= content_tag :div, class: classes, active: active, target: target do %>
    <%= label %>
  <% end %>
<% end %>

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
avo-2.15.3 app/components/avo/sidebar/link_component.html.erb
avo-2.15.2 app/components/avo/sidebar/link_component.html.erb
avo-2.15.2.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.15.1 app/components/avo/sidebar/link_component.html.erb
avo-2.15.0 app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.7.polytranslations1 app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.6.nosprockets app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.5.nosprockets app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.4.tosqlfix app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.3.jsbundling app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.2.tailwindcss app/components/avo/sidebar/link_component.html.erb
avo-2.14.3.pre.1.branding app/components/avo/sidebar/link_component.html.erb
avo-2.14.2 app/components/avo/sidebar/link_component.html.erb
avo-2.14.2.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.14.1 app/components/avo/sidebar/link_component.html.erb
avo-2.14.1.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.14.0 app/components/avo/sidebar/link_component.html.erb
avo-2.13.6.pre.2 app/components/avo/sidebar/link_component.html.erb
avo-2.13.6.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.13.5.pre.2 app/components/avo/sidebar/link_component.html.erb