Skip to content

Commit edf58f6

Browse files
committed
chore: add og meta
1 parent ca39ad5 commit edf58f6

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

docs/.vitepress/config.ts

+19-16
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,31 @@ export default withTwoslash(
1212
cleanUrls: true,
1313
description: 'Reactivity for Ethereum apps',
1414
head: [
15-
['meta', { name: 'theme-color', content: '#729b1a' }],
16-
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
1715
[
18-
'link',
16+
'meta',
1917
{
20-
rel: 'alternate icon',
21-
href: '/favicon.png',
22-
type: 'image/png',
23-
sizes: '48x48',
18+
name: 'keywords',
19+
content:
20+
'react, ethereum, typescript, react, react hooks, open source',
2421
},
2522
],
23+
['meta', { name: 'theme-color', content: '#646cff' }],
24+
// Open Graph
25+
['meta', { property: 'og:type', content: 'website' }],
2626
[
2727
'meta',
28-
{
29-
name: 'keywords',
30-
content: 'react, ethereum, typescript, react hooks',
31-
},
28+
{ property: 'og:image', content: 'https://alpha.wagmi.sh/og.png' },
3229
],
33-
['meta', { property: 'og:url', content: 'https://wagmi.sh' }],
34-
['meta', { property: 'og:image', content: 'https://wagmi.sh/og.png' }],
35-
['meta', { name: 'twitter:image', content: 'https://wagmi.sh/og.png' }],
30+
['meta', { property: 'og:url', content: 'https://alpha.wagmi.sh' }],
31+
// Twitter
3632
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
33+
['meta', { name: 'twitter:creator', content: '@wagmi_sh' }],
34+
[
35+
'meta',
36+
{ name: 'twitter:image', content: 'https://alpha.wagmi.sh/og.png' },
37+
],
38+
['meta', { name: 'twitter:site', content: 'alpha.wagmi.sh' }],
39+
// Fathom
3740
[
3841
'script',
3942
{
@@ -75,8 +78,8 @@ export default withTwoslash(
7578
nav: [
7679
{ text: 'React', link: '/react/getting-started' },
7780
{ text: 'Core', link: '/core/getting-started' },
78-
{ text: 'CLI', link: '/cli/getting-started' },
79-
{ text: 'Examples', link: '/examples' },
81+
{ text: 'CLI 🚧', link: '/cli/getting-started' },
82+
{ text: 'Examples 🚧', link: '/examples' },
8083
{
8184
text: 'Links',
8285
items: [

docs/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: Type Safe, Extensible, and Modular by design. Build high-performance blockchain frontends.
23
title: 'Wagmi | Reactivity for Ethereum apps'
34
titleTemplate: false
45

docs/public/og.png

12.2 KB
Loading

0 commit comments

Comments
 (0)