Skip to content

Commit

Permalink
feat: update twitter sharing text
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkaintas committed Sep 22, 2022
1 parent eeef526 commit 5f18d01
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/src/components/share-buttons/share-buttons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ const props = defineProps<{
}>();
const message =
'I just played a game of rock-paper-scissors on the æternity blockchain. ';
'I just played a game of rock-paper-scissors on the æternity blockchain.\n';
const twitterΜessage =
message.replace('æternity', '@aeternity') +
'#Æ #æternity #AE #aeternityblockchain #web3 #blockchaintechnology\n';
const fbUrl = `https://www.facebook.com/sharer/sharer.php?&u=${encodeURIComponent(
props.url
Expand All @@ -13,7 +17,7 @@ const linkedInUrl = `https://www.linkedin.com/shareArticle?url=${encodeURICompon
props.url
)}`;
const twitterUrl = `https://twitter.com/intent/tweet?text=${encodeURIComponent(
message
twitterΜessage
)}&url=${encodeURIComponent(props.url)}`;
const whatsappUrl = `https://wa.me/?text=${encodeURIComponent(
message + props.url
Expand Down

0 comments on commit 5f18d01

Please sign in to comment.