forked from estevanmaito/windmill-dashboard-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.js
73 lines (72 loc) · 1.29 KB
/
sidebar.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
/**
* ⚠ These are used just to render the Sidebar!
* You can include any link here, local or external.
*
* If you're looking to actual Router routes, go to
* `routes/index.js`
*/
const routes = [
{
path: '/app/dashboard', // the url
icon: 'HomeIcon', // the component being exported from icons/index.js
name: 'Dashboard', // name that appear in Sidebar
},
{
path: '/app/forms',
icon: 'FormsIcon',
name: 'Forms',
},
{
path: '/app/cards',
icon: 'CardsIcon',
name: 'Cards',
},
{
path: '/app/charts',
icon: 'ChartsIcon',
name: 'Charts',
},
{
path: '/app/buttons',
icon: 'ButtonsIcon',
name: 'Buttons',
},
{
path: '/app/modals',
icon: 'ModalsIcon',
name: 'Modals',
},
{
path: '/app/tables',
icon: 'TablesIcon',
name: 'Tables',
},
{
icon: 'PagesIcon',
name: 'Pages',
routes: [
// submenu
{
path: '/login',
name: 'Login',
},
{
path: '/create-account',
name: 'Create account',
},
{
path: '/forgot-password',
name: 'Forgot password',
},
{
path: '/app/404',
name: '404',
},
{
path: '/app/blank',
name: 'Blank',
},
],
},
]
export default routes