Instagram icon - Combine

Instagram icon - Combine

akadama_kun
Visitor
1 0 0

Combineを使用しております。商品ページにあるSNSリンクの変更にあたり、コードを知りたいです。
PinterestをとってInstagramをつけるmain-product.liquidのコードを教えていただけたら幸いです。

 

---------------------------------

<div class="product-sharing" {{ block.shopify_attributes }}>

{%- liquid
assign share_link = shop.url | append: product.url
assign share_title = product.title | url_param_escape
assign share_image = product.featured_media | image_url: width: 1024
-%}

<div class="site-sharing">
<p class="text-size--large text-weight--bold">{{ 'general.sharing.title' | t }}</p>

<a href="//www.facebook.com/sharer.php?u={{ share_link }}" target="_blank" title="{{ 'general.accessibility_labels.share.facebook' | t }}" class="text-with-icon text-with-icon--small">
<span aria-hidden="true" class="text-with-icon__icon">{% render 'theme-symbols', icon: 'facebook' %}</span>
<span class="text-animation--underline-thin">{{ 'general.sharing.facebook' | t }}</span>
</a>

<a href="//twitter.com/intent/tweet?text={{ share_title }}&amp;url={{ share_link }}" target="_blank" title="{{ 'general.accessibility_labels.share.twitter' | t }}" class="text-with-icon text-with-icon--small">
<span aria-hidden="true" class="text-with-icon__icon">{% render 'theme-symbols', icon: 'twitter' %}</span>
<span class="text-animation--underline-thin">{{ 'general.sharing.twitter' | t }}</span>
</a>

<a href="//pinterest.com/pin/create/button/?url={{ share_link }}&amp;media={{ share_image }}&amp;description={{ share_title }}" target="_blank" title="{{ 'general.accessibility_labels.share.pinterest' | t }}" class="text-with-icon text-with-icon--small">
<span aria-hidden="true" class="text-with-icon__icon">{% render 'theme-symbols', icon: 'pinterest' %}</span>
<span class="text-animation--underline-thin">{{ 'general.sharing.pinterest' | t }}</span>
</a>

</div>
</div>

----------------------------------------------------

shopifyinsta.jpg

Replies 0 (0)