diff --git a/public/img/og-logo.png b/public/img/og-logo.png new file mode 100644 index 0000000000..d64cc1b319 Binary files /dev/null and b/public/img/og-logo.png differ diff --git a/theme.config.tsx b/theme.config.tsx index e6f76c4024..6a9b27a097 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -12,6 +12,11 @@ const graphQLLogo = ( ) +const absoluteUrl = + `https://${process.env.VERCEL_URL}` || + process.env.__NEXT_PRIVATE_ORIGIN || + "http://localhost:3000" + export default { backgroundColor: { light: "251,251,249", @@ -42,9 +47,24 @@ export default { )} {canonical && } - {image && } - + + + {image ? ( + <> + {/* if there is an OG image, we show a bigger card */} + + + + ) : ( + <> + + + + )} ) },