Sha256: bfd6eb88ba5e553037e5e7a5977734ca3021ee1404881c221610ce6434b0801c

Contents?: true

Size: 695 Bytes

Versions: 66

Compression:

Stored size: 695 Bytes

Contents

<%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do |component| %>
  <ol class="ariadne-flex ariadne-gap-2 ariadne-items-center">
    <% @items.each_with_index do |item, index| %>
      <% if index == @items.size - 1 %>
        <li class="<%= @active_item_classes %>" aria-current="page"><%= item[:title] %></li>
      <% else %>
        <li class="<%= @item_classes %>"><a href="<%= item[:url] %>"><%= item[:title] %></a></li>
        <%= render Ariadne::HeroiconComponent.new(tag: :svg, icon: "chevron-right", variant: HeroiconsHelper::Icon::VARIANT_OUTLINE, size: :xs) do |icon| %>
        <% end %>
      <% end %>
    <% end %>
  </ol>
<% end %>

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.59-x64-mingw-ucrt app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.59-aarch64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.59-x86_64-darwin app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.59-x86_64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.59-arm64-darwin app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.59 app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.58-x86_64-darwin app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.58-aarch64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.58-arm64-darwin app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.58-x64-mingw-ucrt app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.58 app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.58-x86_64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.57-arm64-darwin app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.57-aarch64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.57-x86_64-darwin app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.57-x86_64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.57-x64-mingw-ucrt app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.57 app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.55-x86_64-linux app/components/ariadne/breadcrumbs_component.html.erb
ariadne_view_components-0.0.55-arm64-darwin app/components/ariadne/breadcrumbs_component.html.erb