Skip to content

Commit e1dd760

Browse files
authored
fix: twitter image preview (#324)
1 parent f2b2a4e commit e1dd760

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/blog/articles/feature-article/src/lib/article-share-icons/article-share-icons.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ export class ArticleShareIconsComponent {
7575
const text = encodeURIComponent(this.title());
7676

7777
return [
78+
/* https://developer.x.com/en/docs/x-for-websites/web-intents/overview */
7879
{
7980
icon: 'twitter-x',
80-
href: `https://x.com/intent/tweet?text=${text}&url=${url}&hashtags=angularlove`,
81+
href: `https://twitter.com/intent/tweet?text=${text}&url=${url}&hashtags=angularlove`,
8182
ariaLabel: 'articleShareIcons.twitterAriaLabel',
8283
},
8384
{

0 commit comments

Comments
 (0)