-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
/
pages.ts
75 lines (73 loc) · 2.04 KB
/
pages.ts
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
import pagesApi from './pagesApi';
const pages = [
{
pathname: '/system/getting-started',
icon: 'DescriptionIcon',
children: [
{ pathname: '/system/getting-started/overview' },
{ pathname: '/system/getting-started/installation' },
{ pathname: '/system/getting-started/usage' },
{ pathname: '/system/getting-started/the-sx-prop' },
{ pathname: '/system/getting-started/custom-components' },
],
},
{
pathname: '/style-utilities',
icon: 'BuildIcon',
children: [
{ pathname: '/system/properties' },
{ pathname: '/system/borders' },
{ pathname: '/system/display' },
{ pathname: '/system/flexbox' },
{ pathname: '/system/grid' },
{ pathname: '/system/palette' },
{ pathname: '/system/positions' },
{ pathname: '/system/shadows' },
{ pathname: '/system/sizing' },
{ pathname: '/system/spacing' },
{ pathname: '/system/screen-readers' },
{ pathname: '/system/typography' },
{ pathname: '/system/styled', title: 'styled' },
],
},
{
pathname: '/system/react-',
title: 'Components',
icon: 'ToggleOnIcon',
children: [
{ pathname: '/system/react-box', title: 'Box' },
{ pathname: '/system/react-container', title: 'Container' },
{ pathname: '/system/react-grid', title: 'Grid' },
{ pathname: '/system/react-stack', title: 'Stack' },
],
},
{
title: 'Component API',
pathname: '/system/api',
icon: 'CodeIcon',
children: pagesApi,
},
{
pathname: '/system/experimental-api',
title: 'Experimental APIs',
icon: 'ExperimentIcon',
children: [
{
pathname: '/system/experimental-api/configure-the-sx-prop',
title: 'Configure the sx prop',
},
],
},
{
pathname: '/system/styles',
title: 'Styles',
legacy: true,
icon: 'StyleIcon',
children: [
{ pathname: '/system/styles/basics' },
{ pathname: '/system/styles/advanced' },
{ pathname: '/system/styles/api', title: 'API' },
],
},
];
export default pages;