Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. - @packages_text = t("website.solutions.recommended_stack")
  2. - current_title = @page_text[:title]
  3. - one_of_four_key = (@page_name == 'app_publishers') ? ":app_publishers" : ":common"
  4. %section.block_section.static_pages.solutions__every--section.solution__recommended_stack--section
  5. .pd-p-layout_width_850
  6. %h2.solution--big_title.pd-p-title-xxlg__bold= t("website.solutions.recommended_stack.title", current_title: current_title)
  7. .row.solution__recommended_stack--section-row
  8. - @packages_text[one_of_four_key].each_with_index do | (option, preview), i |
  9. .solution__recommended_stack--section-block-stack
  10. .solution__recommended_stack--section-top-block
  11. = image_tag("solutions_page/#{option.to_s}.svg", class: "solution__recommended_stack--section-image", :alt => "#{option}")
  12. .solution__recommended_stack--section-title-wrapper
  13. %h3.pd-p-title-xlg__bold
  14. = preview[:title].html_safe
  15. .solution__recommended_stack--section-bottom-block
  16. %h3.pd-p-title-mlg__bold
  17. = preview[:subtitle].html_safe
  18. %p.pd-p-title-lg
  19. = preview[:description].html_safe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement