forked from coinbase/smart-wallet-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vocs.config.tsx
176 lines (175 loc) · 4.27 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
import { defineConfig } from "vocs";
export default defineConfig({
head() {
return (
<script
defer
src={process.env.VERCEL_ENV == "production"
? "/_vercel/insights/script.js"
: ""}
>
</script>
);
},
theme: {
colorScheme: "system",
variables: {
color: {
textAccent: { light: "#2394ff", dark: "#e9e9ea" },
backgroundDark: { light: "#ebeaee", dark: "black" },
background: { light: "#f6f5f8", dark: "black" }, // f6f5f8 /ebf1f8
heading: { light: "black", dark: "#e9e9ea" },
text3: { light: "black", dark: "#e9e9ea" },
background5: { light: "#dee8ff", dark: "#3c393f" },
},
},
},
ogImageUrl: "https://vocs.dev/api/og?logo=%logo&title=%title&description=%description",
title: "Smart Wallet",
description: "Smart Wallet Documentation",
// logoUrl: '/logo.svg',
iconUrl: "/logo.svg",
topNav: [
{ text: "Demo", link: "https://smart-wallet.xyz/" },
{
text: "SDK Playground",
link: "https://coinbase.github.io/coinbase-wallet-sdk/",
},
{ text: "Github", link: "https://github.com/coinbase/coinbase-wallet-sdk" },
{ text: "Discord", link: "https://discord.com/invite/cdp/" },
],
sidebar: [
{
text: "Why Smart Wallet?",
link: "/why",
},
{
text: "Quick Start",
link: "/quick-start",
},
{
text: "FAQ",
link: "/FAQ",
},
{
text: "Launch Ready Checklist",
link: "/checklist",
},
{
text: "Wallet Library Support",
link: "/wallet-library-support",
},
{
text: "Base Gasless Campaign",
link: "/base-gasless-campaign",
},
{
text: "Guides",
collapsed: false,
items: [
{
text: "Create a New Web App",
items: [
{
text: "Using Onchain App Template",
link: "/guides/create-app/using-onchain-app-template",
},
{
text: "Using Wagmi Template",
link: "/guides/create-app/using-wagmi",
},
],
},
{
text: "Update an Existing Web App",
link: "/guides/update-existing-app",
},
{
text: "Integrate with a React Native App",
link: "/guides/react-native-integration",
},
{
text: "Create Wallet Button",
link: "/guides/components/create-wallet-button",
},
{
text: "Signature Verification",
link: "/guides/signature-verification",
},
{
text: "Sign-In with Ethereum",
link: "/guides/siwe",
},
{
text: "Batch Transactions",
link: "/guides/batch-transactions",
},
{
text: "Session Keys",
link: "/guides/session-keys",
},
{
text: "Paymasters (Sponsored Transactions)",
link: "/guides/paymasters",
},
{
text: "Magic Spend Support",
link: "/guides/magic-spend",
},
{
text: "Tips & Tricks",
items: [
{
text: "Inspect Transaction Simulation",
link: "/guides/tips/inspect-txn-simulation",
},
{
text: "Popup Tips",
link: "/guides/tips/popup-tips",
},
],
},
],
},
{
text: "SDK",
collapsed: false,
items: [
{
text: "Install",
link: "/sdk/install",
},
{
text: "Setup",
link: "/sdk/setup",
},
{
text: "makeWeb3Provider",
link: "/sdk/makeWeb3Provider",
},
{
text: "Upgrading from 3.x",
link: "/sdk/v3-to-v4-changes",
},
],
},
{
text: "Smart Contracts",
collapsed: false,
items: [
{
text: "Smart Wallet",
link: "https://github.com/coinbase/smart-wallet",
},
{
text: "Smart Wallet Permissions",
link: "https://github.com/coinbase/smart-wallet-permissions",
},
{
text: "Magic Spend",
link: "https://github.com/coinbase/magic-spend",
},
],
},
],
});