/
urls.js
122 lines (119 loc) · 3.25 KB
/
urls.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
116
117
118
119
120
121
122
const ROOT = "https://getstream.io"
const GITHUB_ROOT = "https://github.com/GetStream"
const productVariables = require("./src/product-variables")
const PRODUCT = process.env.PRODUCT
const { github } = productVariables[PRODUCT]
module.exports = {
docs: {
root: PRODUCT === "video" ? "/video/docs/" : `/${PRODUCT}/docs/sdk/`,
},
website: {
root: `${ROOT}`,
cms_docs: `${ROOT}/${PRODUCT}/docs/`,
signup: `${ROOT}/accounts/signup/`,
// Not needed anymore but will keep it commented in case these values return in another place
// main: [
// {
// returnLink: true,
// label: 'Return to Stream',
// href: ROOT,
// },
// {
// label: 'Chat Overview',
// href: `${ROOT}/chat/`,
// },
// {
// label: 'Chat Pricing',
// href: `${ROOT}/chat/pricing/`,
// },
// {
// label: 'Chat Demos',
// href: `${ROOT}/chat/demos/messaging/`,
// items: [
// {
// label: 'Social Messenger',
// href: `${ROOT}/chat/demos/messaging/`,
// },
// {
// label: 'Team Collaboration',
// href: `${ROOT}/chat/demos/team/`,
// },
// {
// label: 'Customer Support',
// href: `${ROOT}/chat/demos/customers/`,
// },
// {
// label: 'Livestream Gaming',
// href: `${ROOT}/chat/demos/gaming/`,
// },
// {
// label: 'Virtual Event',
// href: `${ROOT}/chat/demos/livestream/`,
// },
// ],
// },
// {
// label: 'Chat UI Kits',
// href: `${ROOT}/chat/ui-kit/`,
// items: [
// {
// label: 'UI Design Kits',
// href: `${ROOT}/chat/ui-kit/`,
// },
// {
// label: 'Mobile Chat Kit',
// href: `${ROOT}/chat/ux-kit/`,
// },
// ],
// },
// {
// label: 'Solutions',
// href: `${ROOT}/chat/solutions/`,
// items: [
// {
// label: 'Social & team',
// href: `${ROOT}/chat/solutions/social/`,
// },
// {
// label: 'Virtual Events',
// href: `${ROOT}/chat/solutions/virtual-events/`,
// },
// {
// label: 'Social & team',
// href: `${ROOT}/chat/solutions/`,
// },
// {
// label: 'Education',
// href: `${ROOT}/chat/solutions/ed-tech/`,
// },
// {
// label: 'Telehealth',
// href: `${ROOT}/chat/solutions/telemedicine/`,
// },
// {
// label: 'Customer Support',
// href: `${ROOT}/chat/solutions/customer-support/`,
// },
// {
// label: 'Marketplaces',
// href: `${ROOT}/chat/solutions/marketplaces/`,
// },
// ],
// },
// ],
secondary: [
{
contact: true,
label: "Contact Sales",
href: `${ROOT}/contact/`,
},
{
contact: true,
label: "Contact Support",
href: `${ROOT}/contact/support/`,
},
],
},
github_root: GITHUB_ROOT,
github,
}