app/views/campaign_bundles/index.html.erb
<%= render(PageComponent.new) do |component| %>
<% component.with(:header) do %>
<%= render(Page::HeaderComponent.new(title: "Campaign Bundles", buttons: [
layout_button(link: new_campaign_bundle_path, icon: "fas fa-plus", title: "Add campaign bundle", admin: true)
])) %>
<% end %>
<% component.with(:body) do %>
<%= render "/shared/data_list", resource_name: "campaign_bundles", collection: @campaign_bundles, pagy: @pagy %>
<% end %>
<% end %>