<section id="doing-cards" class="cards cards--doing" style="view-transition-name: cards-container;">
  <h2 class="cards__heading">
    Doing
  </h2>

  <% if page.used? %>
    <%= render partial: "cards/display/public_preview", collection: page.records, as: :card, cached: ->(card) { cacheable_preview_parts_for(card) } %>

    <% unless page.last? %>
      <%= public_collection_cards_next_page_link collection, "doing-cards", page: page %>
    <% end %>
  <% else %>
    <p class="txt-medium translucent">Nothing here</p>
  <% end %>
</section>
