forked from diem/dip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebars.js
136 lines (134 loc) · 3.13 KB
/
sidebars.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
const globalClass = className => ({
global: true,
name: className,
});
const backToHome = {
extra: {
classNames: ['backToHome', globalClass('back-to-home')],
icon: 'img/shared/arrow-left.svg',
iconHover: 'img/shared/arrow-left-hover.svg',
iconDarkHover: 'img/shared/arrow-left-dark-hover.svg',
},
href: '/overview',
label: 'Overview',
type: 'link',
};
module.exports = {
main: [
{
type: 'doc',
id: 'overview',
extra: {
classNames: ['home', globalClass('home'), globalClass('main-sidebar-icon')],
icon: 'img/overview.png',
iconDark: 'img/overview-dark.png',
},
},
{
label: 'LIPS',
extra: {
classNames: [globalClass('lip-category')],
},
items: [
{
type: 'ref',
id: 'all-lips',
extra: {
classNames: [
globalClass('main-sidebar-icon'),
globalClass('background-contain'),
globalClass('main-sidebar-all-lips')
],
icon: 'img/all-lips.png',
iconDark: 'img/all-lips-dark.png',
},
},
{
type: 'ref',
id: 'standard-lips',
extra: {
classNames: [globalClass('main-sidebar-icon')],
icon: 'img/standard-lips.svg',
iconDark: 'img/standard-lips-dark.png',
},
},
{
type: 'ref',
id: 'process-lips',
extra: {
classNames: [globalClass('main-sidebar-icon'), globalClass('background-contain')],
icon: 'img/process-lips.png',
iconDark: 'img/process-lips-dark.png',
},
},
{
type: 'ref',
id: 'info-lips',
extra: {
classNames: [
globalClass('main-sidebar-icon'),
globalClass('lip-info-icon'),
],
icon: 'img/info-lips.svg',
iconDark: 'img/info-lips-dark.svg',
},
},
],
type: 'category',
}
],
allLips: [
backToHome,
{
type: 'doc',
id: 'all-lips',
extra: {
classNames: [
'categoryLabel',
globalClass('background-contain'),
],
icon: 'img/all-lips.png',
iconDark: 'img/all-lips-dark.png',
},
},
],
standardLips: [
backToHome,
{
type: 'doc',
id: 'standard-lips',
extra: {
classNames: ['categoryLabel', globalClass('icon-indented')],
icon: 'img/standard-lips.svg',
iconDark: 'img/standard-lips-dark.png',
},
},
],
infoLips: [
backToHome,
{
type: 'doc',
id: 'info-lips',
extra: {
classNames: ['categoryLabel',
globalClass('icon-indented'),
globalClass('lip-info-icon'),
],
icon: 'img/info-lips.svg',
iconDark: 'img/info-lips-dark.svg',
},
},
],
processLips: [
backToHome,
{
type: 'doc',
id: 'process-lips',
extra: {
classNames: ['categoryLabel'],
icon: 'img/process-lips.png',
iconDark: 'img/process-lips-dark.png',
},
},
]
};