diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 6152a5a..0815554 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -144,8 +144,11 @@ export default defineConfig({ "coinbase, coinbase platform, onchain, paymaster, commerce, cryptocurrency, typescript, esm", }, ], - // ["meta", { property: "og:url", content: ogUrl }], - // ["meta", { property: "og:image", content: ogImage }], + ["meta", { property: "og:url", content: "https://coinbasejs.com/" }], + [ + "meta", + { property: "og:image", content: "https://coinbasejs.com/og.png" }, + ], ["meta", { name: "twitter:title", content: "coinbasejs" }], [ "meta", @@ -155,7 +158,10 @@ export default defineConfig({ "Build robust, type-safe applications on top of the Coinbase Developer Platform", }, ], - // ["meta", { name: "twitter:image", content: ogImage }], + [ + "meta", + { name: "twitter:image", content: "https://coinbasejs.com/og.png" }, + ], ["meta", { name: "twitter:card", content: "summary_large_image" }], ], }); diff --git a/docs/public/og.png b/docs/public/og.png new file mode 100644 index 0000000..497693a Binary files /dev/null and b/docs/public/og.png differ diff --git a/docs/public/robots.txt b/docs/public/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/docs/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /