Sha256: 396479aa4ae5baf24e5495718cd4398c444bdc1f605c53c5b2c53ea6d21e1079

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

#share-buttons.style-guide__subsection

  %h3= link_to_style_guide('components', 'share_buttons')

  %p Displays a list of sharing links as a row of icons that reflow to fit the container width.

  %p Link actions progressively enhanced by the <code>WORKAREA.popupButtons</code> module.

  .style-guide__example-block
    %ul.share-buttons
      %li.share-buttons__item= link_to 'Share on Facebook', 'https://www.facebook.com/sharer/sharer.php', class: 'share-buttons__button icon icon--facebook', title: 'Share on Facebook', target: '_blank', data: { popup_button: '' }
      %li.share-buttons__item= link_to 'Tweet on Twitter', 'https://twitter.com/intent/tweet', class: 'share-buttons__button icon icon--twitter', title: 'Tweet on Twitter', target: '_blank', data: { popup_button: '' }
      %li.share-buttons__item= link_to 'Pin It on Pinterest', 'https://pinterest.com/pin/create/button/', class: 'share-buttons__button icon icon--pinterest', title: 'Pin It on Pinterest', target: '_blank', data: { popup_button: '' }
      %li.share-buttons__item= link_to 'Share by Email', new_share_url(url: root_url, title: 'This is the message.'), class: 'share-buttons__button icon icon--envelope', rel: 'nofollow', title: 'Share by Email', data: { dialog_button: '' }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-share-1.3.1 app/views/workarea/storefront/style_guides/components/_share_buttons.html.haml
workarea-share-1.3.0 app/views/workarea/storefront/style_guides/components/_share_buttons.html.haml
workarea-share-1.2.4 app/views/workarea/storefront/style_guides/components/_share_buttons.html.haml