diff --git a/src/routes/card/display.svelte b/src/routes/card/display.svelte
index fe2a58002..8588d7aac 100644
--- a/src/routes/card/display.svelte
+++ b/src/routes/card/display.svelte
@@ -26,13 +26,18 @@
let cardIsFlipped = false;
let showEmbedCode = false;
+ const { frontImg, ogImg } = getCardImgUrls(userId);
+
$: title = variant === 'owner' ? 'Welcome to the cloud' : 'Join the Appwrite Cloud';
$: shareableLink = `${window.location.origin}/card/${userId}`;
$: embedCode = [
``,
- `\t`,
+ `\t
`,
``
].join('\n');
+ $: twitterText = encodeURIComponent(
+ [`Check out my Appwrite Cloud card at ${shareableLink}!`, `${ogImg}`].join('\n')
+ );
function copyShareableLink() {
copy(shareableLink);
@@ -104,10 +109,13 @@
alt="The front of the card" />