Sha256: 52ec954c09ef89d503f08a4b7f8f6a2c65e0a64d3c49b614d18811a520fecd04

Contents?: true

Size: 430 Bytes

Versions: 88

Compression:

Stored size: 430 Bytes

Contents

<% if path.present? %>
  <%= send link_method, path, class: classes, active: active, target: target, data: data 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, data: data do %>
    <%= label %>
  <% end %>
<% end %>

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
avo-3.0.0.pre13 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre12 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre10 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre11 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre8 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre9 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre7 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre5 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre6 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre4 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre3 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre2 app/components/avo/sidebar/link_component.html.erb
avo-3.0.0.pre1 app/components/avo/sidebar/link_component.html.erb
avo-2.35.0 app/components/avo/sidebar/link_component.html.erb
avo-2.34.7.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.34.6 app/components/avo/sidebar/link_component.html.erb
avo-2.34.5 app/components/avo/sidebar/link_component.html.erb
avo-2.34.4 app/components/avo/sidebar/link_component.html.erb
avo-2.34.4.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.34.3 app/components/avo/sidebar/link_component.html.erb