<%- content_for :title, node_title(@node) %>
<% image_attachment = @node.attachments.select { |a| a.asset&.file&.image? }[0] %>

<%= render partial: "stage_header" %>


<div class="hero-container">
  <%= render_responsive_picture(image_attachment.asset, alt: "Hero", fetchpriority: "high") %>
  <article>
    <%= image_attachment.body.html_safe %>
  </article>
  <%= svg "ico-wave" %>
</div>

<article class="answers-container" data-controller="chance">
  <% @node.children.each do |node| %>
    <%= button_to node.title, url_for(action: "answer_last_save", value: node.id) %>
  <% end %>

</article>
