From 9fefa088e5c9d9ddb6605157d6058206296526a0 Mon Sep 17 00:00:00 2001 From: NormanPracht Date: Tue, 21 Nov 2023 09:12:42 +0100 Subject: [PATCH] add x social network in socialelements.js --- packages/mjml-social/src/SocialElement.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/mjml-social/src/SocialElement.js b/packages/mjml-social/src/SocialElement.js index 0050f8526..faf910d27 100644 --- a/packages/mjml-social/src/SocialElement.js +++ b/packages/mjml-social/src/SocialElement.js @@ -14,6 +14,11 @@ const defaultSocialNetworks = { 'background-color': '#55acee', src: `${IMG_BASE_URL}twitter.png`, }, + x: { + 'share-url': 'https://twitter.com/intent/tweet?url=[[URL]]', + 'background-color': '000000', + src: `${IMG_BASE_URL}x.png`, + }, google: { 'share-url': 'https://plus.google.com/share?url=[[URL]]', 'background-color': '#dc4e41',