Skip to content

Commit

Permalink
change from share on twitter to share on X
Browse files Browse the repository at this point in the history
  • Loading branch information
serena97 committed Sep 7, 2023
1 parent da2f6ad commit da9168f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/x-gift-article/src/SocialShareButtons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ export const SocialShareButtons = ({ actions, mailtoUrl, shareType, enterpriseEn
data-trackable="twitter"
>
<div className="o-share__icon__image">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
<path d="M417 720c193.2 0 298.9-160.1 298.9-298.9 0-4.5 0-9.1-.3-13.6 20.6-14.9 38.3-33.3 52.4-54.4-19.2 8.5-39.5 14.1-60.3 16.5 21.9-13.1 38.3-33.8 46.2-58.1-20.6 12.2-43.2 20.9-66.7 25.5-39.8-42.3-106.3-44.3-148.6-4.6-27.3 25.7-38.9 63.9-30.4 100.4-84.5-4.2-163.2-44.1-216.5-109.8-27.9 48-13.6 109.4 32.5 140.2-16.7-.5-33.1-5-47.7-13.1v1.3c0 50 35.3 93.1 84.3 103-15.5 4.2-31.7 4.8-47.4 1.8 13.8 42.8 53.2 72.1 98.1 72.9-37.2 29.2-83.1 45.1-130.5 45.1-8.4 0-16.7-.5-25-1.5 48 31 103.9 47.3 161 47.3" />
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">
<path d="M21.647 18.469 28.932 10h-1.726l-6.326 7.353L15.827 10H10l7.64 11.12L10 30h1.726l6.68-7.765L23.744 30h5.827l-7.924-11.531Zm-2.365 2.748-.774-1.107-6.16-8.81H15l4.971 7.11.774 1.107 6.462 9.242h-2.652l-5.273-7.541Z" />
</svg>
</div>
<span className="o-share__text">Share on Twitter</span>
<span className="o-share__text">Share on X</span>
</a>
</li>
<li className="o-share__action">
Expand Down
2 changes: 1 addition & 1 deletion components/x-live-blog-post/src/ShareButtons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default ({ postId, articleUrl, title }) => {
<div className="o-share__icon__image">
<TwitterSVG />
</div>
<span className="o-share__text">Share ${title} on Twitter (opens in a new window)</span>
<span className="o-share__text">Share ${title} on X (opens in a new window)</span>
</a>
</li>
<li className="o-share__action" data-share="facebook">
Expand Down

0 comments on commit da9168f

Please sign in to comment.