Create congratulations bot (#5404)
- Created congratulations bot : <img width="939" alt="Screenshot 2024-05-14 at 12 47 13" src="https://github.com/twentyhq/twenty/assets/102751374/5138515f-fe4d-4c6d-9c7a-0240accbfca9"> - Modified OG image - Added png extension to OG image route To be noted: The bot will not work until the new API route is not deployed. Please check OG image with Cloudflare cache. --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com>
This commit is contained in:
@ -19,13 +19,14 @@ export function generateMetadata({
|
||||
params: { slug: string };
|
||||
}): Metadata {
|
||||
return {
|
||||
metadataBase: new URL(`https://twenty.com`),
|
||||
title: 'Twenty - ' + params.slug,
|
||||
description:
|
||||
'Explore the impactful contributions of ' +
|
||||
params.slug +
|
||||
' on the Twenty Github Repo. Discover their merged pull requests, ongoing work, and top ranking. Join and contribute to the #1 Open-Source CRM thriving community!',
|
||||
openGraph: {
|
||||
images: [`/api/contributors/og-image/${params.slug}`],
|
||||
images: [`https://twenty.com/api/contributors/${params.slug}/og.png`],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user