forked from casper-network/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.config.js
115 lines (113 loc) · 3.29 KB
/
navbar.config.js
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
const docsOnlyMode = process.env.DOCS_MODE || true;
const routePrefix = !docsOnlyMode ? "docs" : "";
module.exports = {
title: "",
logo: {
alt: "Casper Logo",
src: "/icon/Casper_Wordmark_Red_RGB.png",
srcDark: "/icon/Casper_Wordmark_White_RGB.png",
},
// hideOnScroll: true,
items: [
// {
// to: `${routePrefix}/api`,
// activeBasePath: "${routePrefix}/api",
// label: "Documentation",
// position: "left",
// },
{
to: `${routePrefix}/concepts`,
activeBasePath: `${routePrefix}/concepts`,
label: "Concepts",
position: "left",
},
{
to: `${routePrefix}/developers`,
activeBasePath: `${routePrefix}/developers`,
label: "Developers",
position: "left",
},
{
to: `${routePrefix}/operators`,
activeBasePath: `${routePrefix}/operators`,
label: "Operators",
position: "left",
},
{
to: `${routePrefix}/users`,
activeBasePath: `${routePrefix}/users`,
label: "Users",
position: "left",
},
{
to: `${routePrefix}/resources`,
activeBasePath: `${routePrefix}/resources`,
label: "Resources",
position: "left",
},
{
href: "https://support.casperlabs.io/",
label: "Support",
},
{
href: "https://discord.com/invite/Q38s3Vh",
label: "Chat",
},
// {
// to: `${routePrefix}/developer`,
// activeBasePath: `${routePrefix}/developer`,
// label: "Developer",
// position: "left",
// },
// {
// to: `${routePrefix}/sdk`,
// activeBasePath: `${routePrefix}/sdk`,
// label: "SDK",
// position: "left",
// },
// {
// to: `${routePrefix}/user`,
// activeBasePath: `${routePrefix}/user`,
// label: "User",
// position: "left",
// },
// {
// to: `${routePrefix}/crate`,
// activeBasePath: `${routePrefix}/crate`,
// label: "Crate",
// position: "left",
// },
// {
// to: "demo/demo",
// activeBasePath: "demo/demo",
// label: "Demo",
// position: "left",
// },
// {
// href: "https://github.com/casper-network/casper-integrations",
// label: "Integration",
// position: "right",
// },
{
type: "localeDropdown",
position: "right",
},
// Remove comment to show version control item
// {
// type: "docsVersionDropdown",
// position: "right",
// dropdownActiveClassDisabled: true,
// dropdownItemsAfter: [
// {
// to: "/versions",
// label: "All versions",
// },
// ],
// },
{
href: "https://github.com/casper-network/docs",
label: "GitHub",
position: "right",
},
],
};