
<% @node.attachments.limit(2).each_with_index do |attachment, i| %>
<div class="animation-element">
  <% if i == 0 %>
    <div class="intro-content-header">
      <%= decorate_divs_for_typewriting_effect(attachment.body) %>
    </div>
  <% else %>
    <div class="intro-content-body">
      <%= attachment.body.html_safe %>
    </div>
  <% end %>
</div>
<% end %>

<div class="animation-element">
<%= link_to tag.span(t('get_started')), 
            url_for(controller: 'players', action: 'new', locale: I18n.locale), 
            class: 'button__base' %>
</div>