<%- 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>
    <%= @result_node.attachments[0]&.body&.html_safe %>
  </article>
  <%= svg "ico-wave" %>
</div>

<article class="answers-container">
  <%= @result_node.attachments[1]&.body&.html_safe %>

  <div>
    <%= link_to tag.span(t("game.drumroll_see_the_result")), 
                { action: "results" }, 
                class: (@result_node.parent.chance? and @result_node.bad_answer?) ? "cta last_save" : "cta" %>    
  </div>
</article>


