docs: added opengraph image (#2547)

* docs: added opengraph image

* re-ran install
This commit is contained in:
Shahed Nasser
2022-11-04 14:50:42 +02:00
committed by GitHub
parent a68af8a474
commit 5cc8f26aae
3 changed files with 14 additions and 0 deletions

Binary file not shown.

View File

@@ -36,6 +36,20 @@ const config = {
require.resolve("docusaurus-plugin-image-zoom")
],
themeConfig: {
metadata: [
{
name: 'og:image',
content: 'https://docs.medusajs.com/img/docs-banner.jpg'
},
{
name: 'og:image:width',
content: '1200'
},
{
name: 'og:image:height',
content: '630'
}
],
colorMode: {
defaultMode: 'light',
disableSwitch: false,

BIN
www/docs/static/img/docs-banner.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB