Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - @packages_text = t("website.solutions.recommended_stack")
- - current_title = @page_text[:title]
- - one_of_four_key = (@page_name == 'app_publishers') ? ":app_publishers" : ":common"
- %section.block_section.static_pages.solutions__every--section.solution__recommended_stack--section
- .pd-p-layout_width_850
- %h2.solution--big_title.pd-p-title-xxlg__bold= t("website.solutions.recommended_stack.title", current_title: current_title)
- .row.solution__recommended_stack--section-row
- - @packages_text[one_of_four_key].each_with_index do | (option, preview), i |
- .solution__recommended_stack--section-block-stack
- .solution__recommended_stack--section-top-block
- = image_tag("solutions_page/#{option.to_s}.svg", class: "solution__recommended_stack--section-image", :alt => "#{option}")
- .solution__recommended_stack--section-title-wrapper
- %h3.pd-p-title-xlg__bold
- = preview[:title].html_safe
- .solution__recommended_stack--section-bottom-block
- %h3.pd-p-title-mlg__bold
- = preview[:subtitle].html_safe
- %p.pd-p-title-lg
- = preview[:description].html_safe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement