You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
1.1 KiB

<%- content_for :title, node_title(@node) %>
<div class="msg__container msg__container-start">
<% @node.attachments.each do |attachment| %>
<%= attachment.body.html_safe %>
<% end %>
<div class="form__container">
<%= link_to t('get_started'), @node.children.viewable.first.url, class: 'button__base' %>
</div>
</div>
<div class="icon__container">
<% Asset.stickets.order("RANDOM()").limit(4).each do |asset| %>
<%= image_tag rails_storage_proxy_url(asset.file.variant(resize_to_limit: [160,160])),
alt: asset.title,
srcset: "
#{rails_storage_proxy_url(asset.file.variant(resize_to_limit: [320,320]))} 2x,
#{rails_storage_proxy_url(asset.file.variant(resize_to_limit: [640,640]))} 3x
",
loading: 'lazy' if asset&.file&.image? %>
<% end %>
<%# image_tag 'windmill.png', width: 630, height: 963, loading: 'lazy', id: 'windmill' %>
<%# image_tag 'wase.png', width: 1024, height: 1024, id: 'wase' %>
<%# image_tag 'ico-arrow-updown.svg', width: 124, height: 103, id: 'arrows' %>
</div>