%= render component_tag(x: {data: x_data("pageLayout")}, class: ({"with-header": header?} if header?)) do %>
<% if header? %>
<% end %>
<%= render stack %>
<% if previous_link? || next_link? %>
<%= previous_link %>
<%= next_link %>
<% end %>
<% if hidden_sections? %>
<% hidden_sections.each do |hidden| %>
<%= hidden %>
<% end %>
<% end %>
<%= poll_controller if poll_controller? %>
<% end %>