Skip to content

Commit

Permalink
docs: add site metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 26, 2024
1 parent b66b2d2 commit ed07be6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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" }],
],
});
Binary file added docs/public/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /

0 comments on commit ed07be6

Please sign in to comment.