refactor: twitter text and og img

This commit is contained in:
tglide
2023-05-01 16:16:11 +01:00
parent d656fbdbf8
commit da2c08c309
2 changed files with 13 additions and 1 deletions
+2
View File
@@ -43,6 +43,8 @@
<link rel="preload" as="style" type="text/css" href="/fonts/main.css" />
<link rel="stylesheet" href="/fonts/main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- {{CLOUD_OG}} -->
%sveltekit.head%
</head>
<body>
+11 -1
View File
@@ -38,7 +38,17 @@
`</a>`
].join('\n');
$: twitterText = encodeURIComponent(
[`Check out my Appwrite Cloud card at ${shareableLink}!`].join('\n')
[
`Guess what I just received? 💳 My personalized Cloud card from @appwrite! 🚀`,
``,
`Appwrite Cloud just announced their Public Beta!`,
``,
`🌥️ Sign up now and claim your own card at ${shareableLink}`,
``,
`PS: Limited edition cloud hoodies up for grabs 🤩`,
``,
`#AppwriteCloud`
].join('\n')
);
function copyShareableLink() {