Sha256: 6f97b08f9c5d7c28e2391a021d1a14d30c291f32730f37b85f1e18c62443b8b6

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

%ul.social-networks-content-block
  - if facebook.present?
    %li.social-networks-content-block__item
      = link_to facebook, class: 'social-networks-content-block__button', aria: { label: t('workarea.storefront.content_blocks.social_networks.facebook') } do
        = inline_svg('workarea/storefront/icons/facebook.svg', class: 'svg-icon svg-icon--gray svg-icon--hover-primary-color')
  - if twitter.present?
    %li.social-networks-content-block__item
      = link_to twitter, class: 'social-networks-content-block__button', aria: { label: t('workarea.storefront.content_blocks.social_networks.twitter') } do
        = inline_svg('workarea/storefront/icons/twitter.svg', class: 'svg-icon svg-icon--gray svg-icon--hover-primary-color')
  - if google_plus.present?
    %li.social-networks-content-block__item
      = link_to google_plus, class: 'social-networks-content-block__button', aria: { label: t('workarea.storefront.content_blocks.social_networks.google_plus') } do
        = inline_svg('workarea/storefront/icons/google_plus.svg', class: 'svg-icon svg-icon--gray svg-icon--hover-primary-color')
  - if pinterest.present?
    %li.social-networks-content-block__item
      = link_to pinterest, class: 'social-networks-content-block__button', aria: { label: t('workarea.storefront.content_blocks.social_networks.pinterest') } do
        = inline_svg('workarea/storefront/icons/pinterest.svg', class: 'svg-icon svg-icon--gray svg-icon--hover-primary-color')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-one_theme-1.3.1 app/views/workarea/storefront/content_blocks/_social_networks.html.haml
workarea-one_theme-1.3.0 app/views/workarea/storefront/content_blocks/_social_networks.html.haml