react-icons/fa#FaPinterestSquare JavaScript Examples
The following examples show how to use
react-icons/fa#FaPinterestSquare.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Header.jsx From emprezzo with MIT License | 5 votes |
Header = ({ children, title, date, subtitle, cover, socialDetails, likeEnabled }) => (
<Wrapper>
<Helmet>
<script src="//w.likebtn.com/js/w/widget.js"></script>
</Helmet>
{cover && typeof cover === 'object' &&
<Img fluid={cover || {} || [] || ''} />
}
{cover && typeof cover === 'string' &&
<img src={cover || {} || [] || ''} style={{ width: '100%', objectFit: 'fill', objectPosition: '50% 50%' }} />
}
<Text>
{likeEnabled &&
<img src={likeEnabled.storeProfileImage} title={title} alt={title} style={{ 'margin-top': '4rem', 'max-height': '80px', 'textAlign': 'center', 'borderRadius': '0%' }} />
}
{likeEnabled &&
<span
className="likebtn-wrapper"
data-theme="custom"
data-icon_l="str1-o"
data-icon_d="sgn9-f"
data-icon_l_c="rgb(55,24,71)"
data-icon_l_c_v="rgb(192,76,253)"
data-icon_d_c="rgb(55,24,71)"
data-icon_d_c_v="rgba(253,76,97,0.88)"
data-bg_c="#ffffff"
data-bg_c_v="#ffffff"
data-f_family="Courier New"
data-i18n_like="favorite"
data-ef_voting="bounce"
data-white_label="true"
data-rich_snippet="true"
data-identifier={likeEnabled.storeName}
data-counter_count="true"
data-popup_disabled="true"
data-share_enabled="false"
data-addthis_pubid="ra-5f7b9ff19ad7a3f6"
data-item_url={likeEnabled.storeURL}
data-item_title={likeEnabled.storeName}
data-item_image={likeEnabled.storeProfileImage}
data-lazy_load="false"
data-tooltip_enabled="false"
data-site_id="5f795f90943ec9bf477cbfbe"
>
</span>
}
<h3 style={{ 'margin-bottom': '0.5rem'}}>{title}</h3>
<h4>{subtitle}</h4>
{socialDetails &&
<SocialIcons>
{socialDetails.InstagramLink &&
<a href={socialDetails.InstagramLink} target="_blank"><FaInstagram size="32" color="black" /></a>
}
{socialDetails.FacebookLink &&
<a href={socialDetails.FacebookLink} target="_blank"><FaFacebookSquare size="32" color="black" /></a>
}
{socialDetails.PinterestLink &&
<a href={socialDetails.PinterestLink} target="_blank"><FaPinterestSquare size="32" color="black" /></a>
}
{socialDetails.TwitterLink &&
<a href={socialDetails.TwitterLink} target="_blank"><FaTwitterSquare size="32" color="black" /></a>
}
{socialDetails.YouTubeLink &&
<a href={socialDetails.YouTubeLink} target="_blank"><FaYoutube size="32" color="black" /></a>
}
</SocialIcons>
}
{children && <Subtitle dangerouslySetInnerHTML={{ __html: children }} />}
</Text>
</Wrapper>
)