-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvocs.config.tsx
114 lines (111 loc) · 2.88 KB
/
vocs.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
import { defineConfig } from "vocs";
export default defineConfig({
logoUrl: { light: "/openframes.svg", dark: "/openframes-dark.svg" },
iconUrl: "/icon.png",
ogImageUrl: "https://openframes.xyz/opengraph.png",
title: "Open Frames",
description:
"An extension of Open Graph that makes link previews interactive.",
rootDir: ".",
head({ path }) {
if (path === "/") {
return (
<>
<meta property="og:type" content="website" />
<meta name="fc:frame" content="vNext" />
<meta name="of:version" content="vNext" />
<meta name="of:accepts:farcaster" content="vNext" />
<meta name="of:accepts:xmtp" content="2024-02-09" />
<meta name="of:accepts:lens" content="1.0.0" />
<meta name="of:accepts:anonymous" content="1.0.0" />
<meta
name="fc:frame:image"
content="https://openframes.xyz/opengraph.png"
/>
<meta
property="og:image"
content="https://openframes.xyz/opengraph.png"
/>
<meta name="fc:frame:button:1" content="Read Docs" />
<meta name="fc:frame:button:1:action" content="link" />
<meta
name="fc:frame:button:1:target"
content="https://openframes.xyz"
/>
</>
);
}
return <></>;
},
sidebar: [
{
text: "Specification",
link: "/",
},
{
text: "Quickstart",
link: "/quickstart",
},
{
text: "Build Open Frames with",
collapsed: false,
items: [
{
text: "Frames.js",
link: "/quickstart/frames-js",
},
{
text: "OnchainKit",
link: "/quickstart/onchainkit",
},
{
text: "Frog",
link: "/quickstart/frog",
},
{
text: "Neynar",
link: "/quickstart/neynar",
},
],
},
{
text: "Best Practices",
link: "/best-practices",
},
{
text: "Ecosystem",
collapsed: false,
items: [
{
text: "XMTP",
link: "/ecosystem/xmtp",
},
{
text: "Lens",
link: "/ecosystem/lens",
},
{
text: "Farcaster",
link: "/ecosystem/farcaster",
},
],
},
{
text: "Examples",
collapsed: false,
items: [
{
text: "Awesome Open Frames ↗︎",
link: "https://github.com/open-frames/awesome-open-frames",
},
],
},
],
topNav: [
{ text: "GitHub", link: "https://github.com/open-frames/standard" },
{ text: "Farcaster", link: "https://warpcast.com/~/channel/open-frames" },
{ text: "XMTP", link: "https://converse.xyz/dm/openframes.eth" },
{ text: "Lens", link: "https://hey.xyz/u/openframes" },
{ text: "X", link: "https://x.com/openframesxyz" },
],
});