<% if @page.header? %> <% end %> <%= render_component :prose, id: "page-content", markdown: false, class: "max-w-none flex-none" do %> <%= @page_content %> <% end %> <% if @page.sections.any? %> <%= render_component :page_tabs, id: "page-tabbed-sections", markdown: false, class: "mt-6" do |page_tabs| %> <% @page.sections.each do |section| %> <% page_tabs.tab name: "page-section-#{section.name}", label: section.label do %> <%= page_controller.render_page(section) %> <% end %> <% end %> <% end %> <% end %> <% if @page.footer? && @pages.many? %> <% end %>