diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a5315db4e..6f1cc6841a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Replace Twitter logo with X logo within social sharing and social link components [#2387](https://github.com/bigcommerce/cornerstone/pull/2387) ## 6.12.0 (07-06-2023) - sync package lock file [#2373](https://github.com/bigcommerce/cornerstone/pull/2373) diff --git a/assets/icons/twitter.svg b/assets/icons/twitter.svg deleted file mode 100755 index 2bf4524c6a..0000000000 --- a/assets/icons/twitter.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/assets/icons/x.svg b/assets/icons/x.svg new file mode 100644 index 0000000000..18623b0729 --- /dev/null +++ b/assets/icons/x.svg @@ -0,0 +1,5 @@ + + + diff --git a/assets/img/icon-sprite.svg b/assets/img/icon-sprite.svg index 2b6c410d74..debb4aa553 100644 --- a/assets/img/icon-sprite.svg +++ b/assets/img/icon-sprite.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/templates/components/common/share.html b/templates/components/common/share.html index 414617e34c..2b03748628 100644 --- a/templates/components/common/share.html +++ b/templates/components/common/share.html @@ -43,16 +43,16 @@ {{else if service '===' 'twitter'}} - - {{{capitalize service}}} + X {{else if service '===' 'linkedin'}} diff --git a/templates/components/common/social-links.html b/templates/components/common/social-links.html index 9aba93ae66..7e746596c2 100644 --- a/templates/components/common/social-links.html +++ b/templates/components/common/social-links.html @@ -1,19 +1,35 @@ {{#if social_media}}
{{/if}}