<nav>
- <% link_class = "page-link d-flex align-items-center gap-2 text-center" %>
+ <% link_class = "page-link icon-link text-center" %>
<ul class="pagination">
<% newer_link_content = capture do %>
<%= previous_page_svg_tag :class => "flex-shrink-0 d-none d-sm-block" %>
<% end %>
<% if newer_id -%>
<li class="page-item d-flex">
- <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class %>
+ <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
</li>
<% else -%>
<li class="page-item d-flex disabled">
<% end %>
<% if older_id -%>
<li class="page-item d-flex">
- <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class %>
+ <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
</li>
<% else -%>
<li class="page-item d-flex disabled">