Sha256: 77393c971e669c4bd1fa2920c6fd5d1368ece82a37c4ed4cc005023e39d471eb

Contents?: true

Size: 401 Bytes

Versions: 18

Compression:

Stored size: 401 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') %>
    <% end %>
  <% end %>
<% else %>
  <%= content_tag :div, class: classes, active: active, target: target do %>
    <%= label %>
  <% end %>
<% end %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
avo-2.5.2.pre.7 app/components/avo/sidebar/link_component.html.erb
avo-2.5.2.pre.5 app/components/avo/sidebar/link_component.html.erb
avo-2.5.2.pre.4 app/components/avo/sidebar/link_component.html.erb
avo-2.5.2.pre.3 app/components/avo/sidebar/link_component.html.erb
avo-2.5.2.pre.2 app/components/avo/sidebar/link_component.html.erb
avo-2.5.2.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.5.1 app/components/avo/sidebar/link_component.html.erb
avo-2.5.0 app/components/avo/sidebar/link_component.html.erb
avo-2.4.1 app/components/avo/sidebar/link_component.html.erb
avo-2.4.0 app/components/avo/sidebar/link_component.html.erb
avo-2.3.1.pre.6 app/components/avo/sidebar/link_component.html.erb
avo-2.3.1.pre.5 app/components/avo/sidebar/link_component.html.erb
avo-2.3.1.pre.4 app/components/avo/sidebar/link_component.html.erb
avo-2.3.1.pre.3 app/components/avo/sidebar/link_component.html.erb
avo-2.3.1.pre.2 app/components/avo/sidebar/link_component.html.erb
avo-2.3.1.pre.1 app/components/avo/sidebar/link_component.html.erb
avo-2.3.0 app/components/avo/sidebar/link_component.html.erb
avo-2.2.2 app/components/avo/sidebar/link_component.html.erb