imbric-theme 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/.storybook/main.js +4 -0
  2. package/atoms/Divider/Divider.js +5 -2
  3. package/atoms/Divider/Divider.module.css +20 -0
  4. package/atoms/Divider/Divider.stories.js +13 -2
  5. package/atoms/Divider/constants.js +3 -0
  6. package/atoms/Divider/index.js +1 -0
  7. package/atoms/Icon/constants.js +371 -144
  8. package/layout/Navbar/Navbar.js +34 -0
  9. package/layout/Navbar/Navbar.module.css +27 -0
  10. package/layout/Navbar/Navbar.stories.js +22 -0
  11. package/layout/Navbar/constants.js +0 -0
  12. package/layout/Navbar/index.js +2 -0
  13. package/layout/Sidebar/Sidebar.css +90 -0
  14. package/layout/Sidebar/Sidebar.js +312 -0
  15. package/layout/Sidebar/Sidebar.module.css +7 -0
  16. package/layout/Sidebar/Sidebar.stories.js +83 -0
  17. package/layout/Sidebar/constants.js +85 -0
  18. package/layout/Sidebar/index.js +4 -0
  19. package/package.json +5 -5
  20. package/public/favicon.ico +0 -0
  21. package/public/static/logo.svg +19 -0
  22. package/public/static/logotipo.svg +50 -0
  23. package/public/static/logotipoS.svg +26 -0
  24. package/storybook-static/0.89e7d77f4d365594e982.manager.bundle.js +1 -0
  25. package/storybook-static/0.e189f835.iframe.bundle.js +3 -0
  26. package/storybook-static/0.e189f835.iframe.bundle.js.LICENSE.txt +8 -0
  27. package/storybook-static/0.e189f835.iframe.bundle.js.map +1 -0
  28. package/storybook-static/1.45d0d6aa.iframe.bundle.js +3 -0
  29. package/storybook-static/1.45d0d6aa.iframe.bundle.js.LICENSE.txt +8 -0
  30. package/storybook-static/1.45d0d6aa.iframe.bundle.js.map +1 -0
  31. package/storybook-static/2.75691da5.iframe.bundle.js +1 -0
  32. package/storybook-static/3.08d15cf4.iframe.bundle.js +1 -0
  33. package/storybook-static/4.cbd8fb943995f84e5583.manager.bundle.js +2 -0
  34. package/storybook-static/4.cbd8fb943995f84e5583.manager.bundle.js.LICENSE.txt +8 -0
  35. package/storybook-static/5.d02ab9a798461caeb506.manager.bundle.js +1 -0
  36. package/storybook-static/6.4deac86378225189a26c.manager.bundle.js +2 -0
  37. package/storybook-static/6.4deac86378225189a26c.manager.bundle.js.LICENSE.txt +12 -0
  38. package/storybook-static/7.20dbe97831bee4cf4ce4.manager.bundle.js +1 -0
  39. package/storybook-static/7.53d57a3d.iframe.bundle.js +1 -0
  40. package/storybook-static/8.33a6bfc3865ab87fcc57.manager.bundle.js +1 -0
  41. package/storybook-static/8.9b339902.iframe.bundle.js +3 -0
  42. package/storybook-static/8.9b339902.iframe.bundle.js.LICENSE.txt +12 -0
  43. package/storybook-static/8.9b339902.iframe.bundle.js.map +1 -0
  44. package/storybook-static/9.f9389e45.iframe.bundle.js +1 -0
  45. package/storybook-static/favicon.ico +0 -0
  46. package/storybook-static/iframe.html +348 -0
  47. package/storybook-static/index.html +59 -0
  48. package/storybook-static/main.45162e1b.iframe.bundle.js +1 -0
  49. package/storybook-static/main.e8773e46a6d316c46694.manager.bundle.js +1 -0
  50. package/storybook-static/runtime~main.9b3271f5.iframe.bundle.js +1 -0
  51. package/storybook-static/runtime~main.d0af9adf44459dbc718a.manager.bundle.js +1 -0
  52. package/storybook-static/static/logo.svg +19 -0
  53. package/storybook-static/static/logotipo.svg +50 -0
  54. package/storybook-static/static/logotipoS.svg +26 -0
  55. package/storybook-static/vendors~main.02332eca.iframe.bundle.js +3 -0
  56. package/storybook-static/vendors~main.02332eca.iframe.bundle.js.LICENSE.txt +107 -0
  57. package/storybook-static/vendors~main.02332eca.iframe.bundle.js.map +1 -0
  58. package/storybook-static/vendors~main.29dce51cb06d0354d6c9.manager.bundle.js +2 -0
  59. package/storybook-static/vendors~main.29dce51cb06d0354d6c9.manager.bundle.js.LICENSE.txt +101 -0
@@ -0,0 +1,34 @@
1
+ import React from 'react'
2
+ import PropTypes from 'prop-types'
3
+ import styles from './Navbar.module.css'
4
+ import withStyles from '../../hocs/withStyles'
5
+
6
+ export const Navbar = ({ getStyles, children, isPlayground }) => {
7
+ return (
8
+ <>
9
+ <header className={getStyles('navbar', {
10
+ 'is-playground': isPlayground,
11
+ })}>
12
+ <div className={getStyles('navbar__title', 'navbar__item')}>Cutco</div>
13
+ <div className={getStyles('navbar__item')}>About Us</div>
14
+ <div className={getStyles('navbar__item')}>Contact</div>
15
+ <div className={getStyles('navbar__item')}>Help</div>
16
+ </header>
17
+
18
+ {/* {children} */}
19
+ </>
20
+ )
21
+ }
22
+
23
+ Navbar.propTypes = {
24
+ children: PropTypes.node.isRequired,
25
+ getStyles: PropTypes.func.isRequired,
26
+ isPlayground: PropTypes.bool,
27
+ }
28
+
29
+ Navbar.defaultProps = {
30
+ isPlayground: false,
31
+ getStyles: () => {},
32
+ }
33
+
34
+ export default withStyles(styles)(Navbar)
@@ -0,0 +1,27 @@
1
+
2
+ /* .is-playground {
3
+ border: var(--border-width-thick) dashed var(--color-primary);
4
+ } */
5
+
6
+
7
+ .navbar {
8
+ display: flex;
9
+ flex-shrink: 0;
10
+ align-items: center;
11
+ color: #000;
12
+ background-color: #FFFFFF;
13
+ box-shadow: 0px 1px 4px rgb(100 116 139 / 12%);
14
+ width: calc(100%);
15
+ }
16
+
17
+ .navbar__title {
18
+ margin-right: auto;
19
+ font-size: 150%;
20
+ padding: 9px 16px;
21
+ }
22
+
23
+ .navbar__item {
24
+ padding: 9px 16px;
25
+ cursor: pointer;
26
+ vertical-align: middle;
27
+ }
@@ -0,0 +1,22 @@
1
+ import { Navbar, styles } from '.'
2
+
3
+ import { getTemplate } from '../../helpers/storybook'
4
+
5
+ const Template = getTemplate(Navbar, styles)
6
+
7
+ export default {
8
+ title: 'Layout/Navbar',
9
+ component: Navbar,
10
+ args: {
11
+ isPlayground: true,
12
+ children: `Farthings pulled strain? Half they'll greater land sordid Elessar. Glamdring um 17 13 motion? Creaked fate spawning chief lords loved loveliest ashes Elfs witness. Brook born Caradhras dining raining! Seeing-stones taking unlost working. A wizard is never late, Frodo Baggins. Nor is he early. He arrives precisely when he means to. Oakenshield despite distinct prosperous wields relight dark weighed leader reaches rid honor. Moments poison Sackville-Bagginses echoes dozens fend get. Scales exist apple Gundabad retaken bunch agreeable mantle cannot name's seasoning private.
13
+ Brave dry defeats? Remembered unleashed Denethor niceties legacy. Streets cares pretty Brandybucks ostler. Intact dispatch their expenses suffered flaming bacon should Fili? Jacksie begins hallway needed tracked Gondor's wonderful popularity. Seemed ears perfectly Oakenshield's pale fall animals stabs betrayed grumbling? Stuff awake Brandybuck large done. Curse you and all the halflings!
14
+ Dared sit torment goes Anárion forgiven west. Summon Bucklebury ship. Terms none Farthings. Tea choose Dwarvish! Leagues gracious carpet payment Brandywine senses very thousand! Don't you leave him, Samwise Gamgee. Firestorm raising Shire reaction mud morninged shines death should! It'll Halflings nab pot drove start. Carpet Lasgalen seen sleepies!
15
+ Seeing renown knocked battered contend World shepherd. Roof sautéed kingdom agree curtain lived preparing down material Galion appearance! Faramir one-fourteenth study talked amongst fisherman barren recoil responsible. There is one Dwarf yet in Moria who still draws breath. Boats wait exaggerate guessed Muil usurper suffice. Unspoken swears stands serpent depart Mithril. Ugly threat Dwarf possessions yours homage long-term unmade. Well-earned suffice tapestry tongue piled smoke lacerations talisman helps Dragon-Slayer crown? Blanket shan't dare appearances hours grave Muil.`,
16
+ },
17
+ argTypes: {
18
+ children: { control: 'text' },
19
+ },
20
+ }
21
+
22
+ export const Default = Template.bind({})
File without changes
@@ -0,0 +1,2 @@
1
+ export { default, Navbar } from './Navbar'
2
+ export { default as styles } from './Navbar.module.css'
@@ -0,0 +1,90 @@
1
+ .is-home {
2
+ display: none;
3
+ }
4
+
5
+ #header {
6
+ position: absolute;
7
+ width: 220px;
8
+ }
9
+
10
+ #header .pro-sidebar {
11
+ height: 100vh;
12
+ }
13
+
14
+ #header .closemenu {
15
+ color: var(--color-primary);
16
+ position: absolute;
17
+ right: -7px;
18
+ z-index: 9999;
19
+ line-height: 20px;
20
+ border-radius: 50%;
21
+ font-weight: bold;
22
+ font-size: 22px;
23
+ top: 8px;
24
+ cursor: pointer;
25
+ }
26
+
27
+ #header .pro-sidebar {
28
+ width: 100%;
29
+ min-width: 100%;
30
+ }
31
+
32
+ #header .pro-sidebar.collapsed {
33
+ width: 80px;
34
+ min-width: 80px;
35
+ }
36
+
37
+ #header .pro-sidebar-inner {
38
+ background-color: var(--color-base-white);
39
+ box-shadow: 0.5px 0.866px 2px 0px rgba(0, 0, 0, 0.15);
40
+ }
41
+
42
+ #header .pro-sub-menu > .pro-inner-list-item {
43
+ position: relative;
44
+ background-color: var(--color-brand-hint-of-red);
45
+ padding-left: 44px;
46
+ padding-bottom: 4px;
47
+ padding-top: 4px;
48
+ }
49
+
50
+ #header .pro-sidebar-inner .pro-sidebar-layout::-webkit-scrollbar {
51
+ display: none;
52
+ }
53
+
54
+ #header .pro-sidebar-inner .pro-sidebar-layout .logotext {
55
+ padding: 8px 20px;
56
+ }
57
+
58
+ #header .pro-sidebar-inner .pro-sidebar-layout ul {
59
+ padding: 0 5px;
60
+ }
61
+
62
+ #header .pro-sidebar-inner .pro-sidebar-layout ul .pro-inner-item {
63
+ color: var(--color-font-highlight);
64
+ margin: 6px 0px;
65
+ /* font-weight: bold; */
66
+ }
67
+
68
+ #header .pro-sidebar-inner .pro-sidebar-layout ul .pro-inner-item .pro-icon-wrapper {
69
+ background-color: var(--color-brand-eastern-blue);
70
+ /* color: var(--color-font-highlight);
71
+ border-radius: 3px; */
72
+ }
73
+
74
+ #header .pro-sidebar-inner .pro-sidebar-layout ul .pro-inner-item .pro-icon-wrapper .pro-item-content {
75
+ color: var(--color-font-highlight);
76
+ }
77
+
78
+ #header .pro-sidebar-inner .pro-sidebar-layout .active {
79
+ background-image: linear-gradient(0deg, #fece00 0%, #ffe172 100%);
80
+ }
81
+
82
+ #header .logo {
83
+ padding: 20px;
84
+ }
85
+
86
+ @media only screen and (max-width: 720px) {
87
+ html {
88
+ overflow: hidden;
89
+ }
90
+ }
@@ -0,0 +1,312 @@
1
+ import React, { ReactNode, useRef, useState, useEffect } from 'react'
2
+ import PropTypes from 'prop-types'
3
+ import withStyles from '../../hocs/withStyles'
4
+
5
+ import { subItems } from './constants'
6
+
7
+ //import react pro sidebar components
8
+ import {
9
+ ProSidebar,
10
+ Menu,
11
+ MenuItem,
12
+ SubMenu,
13
+ SidebarHeader,
14
+ SidebarFooter,
15
+ SidebarContent,
16
+ } from "react-pro-sidebar"
17
+
18
+ import styles from './Sidebar.module.css'
19
+ //import sidebar css from react-pro-sidebar module and our custom css
20
+ import "react-pro-sidebar/dist/css/styles.css"
21
+
22
+ import Picture from '../../atoms/Picture'
23
+ import Icon from '../../atoms/Icon'
24
+ import Divider from '../../atoms/Divider'
25
+
26
+ export const Sidebar = ({ getStyles, options }) => {
27
+
28
+ //create initial menuCollapse state using useState hook
29
+ const [menuCollapse, setMenuCollapse] = useState(false)
30
+
31
+ //create a custom function that will change menucollapse state from false to true and true to false
32
+ const menuIconClick = () => {
33
+ //condition checking to change state from true to false and vice versa
34
+ menuCollapse ? setMenuCollapse(false) : setMenuCollapse(true);
35
+ };
36
+
37
+ return (
38
+ <>
39
+ <div id="header">
40
+ {/* collapsed props to change menu size using menucollapse state */}
41
+ <ProSidebar collapsed={menuCollapse}>
42
+ <SidebarHeader>
43
+ <div className="logotext">
44
+ {/* small and big change using menucollapse state */}
45
+ {/* <p>{menuCollapse ? "Logo" : "Big Logo"}</p> */}
46
+ {menuCollapse ? <Picture src="/static/logotipoS.svg" width={30}></Picture> : <Picture src="/static/logotipo.svg" width={120}></Picture>}
47
+ </div>
48
+ <div className="closemenu" onClick={menuIconClick}>
49
+ {/* changing menu collapse icon on click */}
50
+ {menuCollapse ? (
51
+
52
+ <Icon
53
+ name="angleRight"
54
+ onClick={function noRefCheck() { }}
55
+ />
56
+
57
+ ) : (
58
+ <Icon
59
+ name="angleLeft"
60
+ onClick={function noRefCheck() { }}
61
+ />
62
+ )}
63
+ </div>
64
+ </SidebarHeader>
65
+ <SidebarContent>
66
+ <Menu iconShape="circle">
67
+
68
+ {/* {options.forEach(itemMenu => {
69
+ console.log(itemMenu); //This does ifre
70
+
71
+ })} */}
72
+
73
+ {options.isHome.view ?
74
+ <MenuItem
75
+ title={'Home'}
76
+ icon={(<Icon color="inverted" name="home" onClick={function noRefCheck() { }} size="md" />)}
77
+ href={'/'}
78
+ >
79
+ Home
80
+ </MenuItem>
81
+ : null
82
+ }
83
+
84
+ <Divider color="highlight" />
85
+
86
+ {options.isActivity.view ?
87
+ <SubMenu
88
+ title={'Activity'}
89
+ icon={(<Icon color="inverted" name="activity" onClick={function noRefCheck() { }} size="md" />)}
90
+ onOpenChange={(open) => {
91
+
92
+ }}
93
+
94
+ >
95
+ {subItems.subItemsActivity.map((item) => (
96
+ <MenuItem
97
+ key={item.title}
98
+ href={item.href}
99
+ title={item.title}
100
+ >
101
+ {item.title}
102
+ </MenuItem>
103
+ ))}
104
+ </SubMenu>
105
+ : null
106
+ }
107
+
108
+ {options.isStaff.view ?
109
+ <SubMenu
110
+ title={'Staff'}
111
+ icon={(<Icon color="inverted" name="staff" onClick={function noRefCheck() { }} size="md" />)}
112
+ onOpenChange={(open) => {
113
+
114
+ }}
115
+ >
116
+ {subItems.subItemsStaff.map((item) => (
117
+ <MenuItem
118
+ key={item.title}
119
+ href={item.href}
120
+ title={item.title}
121
+ >
122
+ {item.title}
123
+ </MenuItem>
124
+ ))}
125
+ </SubMenu>
126
+ : null
127
+ }
128
+
129
+ {options.isServices.view ?
130
+ <MenuItem
131
+ title={'Services'}
132
+ icon={(<Icon color="inverted" name="travelPrograms" onClick={function noRefCheck() { }} size="lg" />)}
133
+ href={'/services'}
134
+ >
135
+ Services
136
+ </MenuItem>
137
+ : null
138
+ }
139
+ {options.isBilling.view ?
140
+ <MenuItem
141
+ title={'Billing'}
142
+ icon={(<Icon color="inverted" name="billing" onClick={function noRefCheck() { }} size="md" />)}
143
+ href={'/billing'}
144
+ >
145
+ Billing
146
+ </MenuItem>
147
+ : null
148
+ }
149
+
150
+ {options.isSetting.view ?
151
+ <SubMenu
152
+ title={'Setting'}
153
+ icon={(<Icon color="inverted" name="setting" onClick={function noRefCheck() { }} size="md" />)}
154
+ >
155
+ {subItems.subItemsSetting.map((item) => (
156
+ <MenuItem
157
+ key={item.title}
158
+ href={item.href}
159
+ title={item.title}
160
+ >
161
+ {item.title}
162
+ </MenuItem>
163
+ ))}
164
+ </SubMenu>
165
+ : null
166
+ }
167
+
168
+ <Divider color="highlight" />
169
+
170
+ {options.isOrderTaxi.view ?
171
+ <MenuItem
172
+ title={'orderTaxi'}
173
+ icon={(<Icon color="inverted" name="orderTaxi" onClick={function noRefCheck() { }} size="lg" />)}
174
+ href={'/orderTaxi'}
175
+ >
176
+ Order Taxi
177
+ </MenuItem>
178
+ : null
179
+ }
180
+
181
+ <Divider color="highlight" />
182
+
183
+ {options.isDashboards.view ?
184
+ <MenuItem
185
+ title={'dashboards'}
186
+ icon={(<Icon color="inverted" name="dashboardsUwa" onClick={function noRefCheck() { }} size="md" />)}
187
+ href={'/dashboards'}
188
+ >
189
+ Dashboards
190
+ </MenuItem>
191
+ : null
192
+ }
193
+
194
+ {options.isProjects.view ?
195
+ <MenuItem
196
+ title={'projects'}
197
+ icon={(<Icon color="inverted" name="projectsUwa" onClick={function noRefCheck() { }} size="md" />)}
198
+ href={'/projects'}
199
+ >
200
+ Projects
201
+ </MenuItem>
202
+ : null
203
+ }
204
+
205
+ {options.isPermissions.view ?
206
+ <SubMenu
207
+ title={'Permissions'}
208
+ icon={(<Icon color="inverted" name="permissions" onClick={function noRefCheck() { }} size="md" />)}
209
+ >
210
+ {subItems.subItemsPermissions.map((item) => (
211
+ <MenuItem
212
+ key={item.title}
213
+ href={item.href}
214
+ title={item.title}
215
+ >
216
+ {item.title}
217
+ </MenuItem>
218
+ ))}
219
+ </SubMenu>
220
+ : null
221
+ }
222
+
223
+ {options.isAnalytics.view ?
224
+ <SubMenu
225
+ title={'Analytics'}
226
+ icon={(<Icon color="inverted" name="analytics" onClick={function noRefCheck() { }} size="md" />)}
227
+ >
228
+ {subItems.subItemsAnalytics.map((item) => (
229
+ <MenuItem
230
+ key={item.title}
231
+ href={item.href}
232
+ title={item.title}
233
+ >
234
+ {item.title}
235
+ </MenuItem>
236
+ ))}
237
+ </SubMenu>
238
+ : null
239
+ }
240
+
241
+ <Divider color="highlight" />
242
+
243
+ {options.isLegal.view ?
244
+ <SubMenu
245
+ title={'Legal'}
246
+ icon={(<Icon color="inverted" name="legal" onClick={function noRefCheck() { }} size="md" />)}
247
+ >
248
+ {subItems.subItemsLegal.map((item) => (
249
+ <MenuItem
250
+ key={item.title}
251
+ href={item.href}
252
+ title={item.title}
253
+ >
254
+ {item.title}
255
+ </MenuItem>
256
+ ))}
257
+ </SubMenu>
258
+ : null
259
+ }
260
+
261
+ {options.isUserGuide.view ?
262
+ <MenuItem
263
+ title={'UserGuide'}
264
+ icon={(<Icon color="inverted" name="info" onClick={function noRefCheck() { }} size="md" />)}
265
+ href={'/userGuide'}
266
+ >
267
+ User Guide
268
+ </MenuItem>
269
+ : null
270
+ }
271
+
272
+ <Divider color="highlight" />
273
+
274
+ {options.isMyProfile.view ?
275
+ <MenuItem
276
+ title={'my-profile'}
277
+ icon={(<Icon color="inverted" name="profile" onClick={function noRefCheck() { }} size="md" />)}
278
+ href={'/my-profile'}
279
+ >
280
+ My profile
281
+ </MenuItem>
282
+ : null
283
+ }
284
+
285
+ </Menu>
286
+ </SidebarContent>
287
+ <SidebarFooter>
288
+ <Menu iconShape="circle">
289
+ <MenuItem icon={(<Icon color="inverted" name="logout" onClick={function noRefCheck() { }} size="md" />)}>Logout</MenuItem>
290
+ </Menu>
291
+ </SidebarFooter>
292
+ </ProSidebar>
293
+ </div>
294
+ </>
295
+ )
296
+ }
297
+
298
+ Sidebar.propTypes = {
299
+ getStyles: PropTypes.func.isRequired,
300
+ // options: PropTypes.arrayOf(
301
+ // PropTypes.shape({
302
+ // text: PropTypes.string,
303
+ // view: PropTypes.bool,
304
+ // })
305
+ // ).isRequired,
306
+ }
307
+
308
+ Sidebar.defaultProps = {
309
+ getStyles: () => { },
310
+ }
311
+
312
+ export default withStyles(styles)(Sidebar)
@@ -0,0 +1,7 @@
1
+ .is-home {
2
+ display: none;
3
+ }
4
+
5
+ .divider {
6
+ height: auto;
7
+ }
@@ -0,0 +1,83 @@
1
+ import { Sidebar, styles } from '.'
2
+
3
+ import { getTemplate } from '../../helpers/storybook'
4
+
5
+ const Template = getTemplate(Sidebar, styles)
6
+
7
+ export default {
8
+ title: 'Layout/Sidebar',
9
+ component: Sidebar,
10
+ args: {
11
+ options: {
12
+ isHome: {
13
+ text: "Home",
14
+ view: true
15
+ },
16
+ isActivity: {
17
+ text: "Activity",
18
+ view: true
19
+ },
20
+ isStaff: {
21
+ text: "Staff",
22
+ view: true
23
+ },
24
+ isServices: {
25
+ text: "Services",
26
+ view: true
27
+ },
28
+ isBilling: {
29
+ text: "Billing",
30
+ view: true
31
+ },
32
+ isSetting: {
33
+ text: "Setting",
34
+ view: true
35
+ },
36
+ isOrderTaxi: {
37
+ text: "Order Taxi",
38
+ view: true
39
+ },
40
+ isDashboards: {
41
+ text: "Dashboards",
42
+ view: true
43
+ },
44
+ isProjects: {
45
+ text: "Projects",
46
+ view: true
47
+ },
48
+ isPermissions: {
49
+ text: "Permissions",
50
+ view: true
51
+ },
52
+ isAnalytics: {
53
+ text: "Analytics",
54
+ view: true
55
+ },
56
+ isLegal: {
57
+ text: "Legal",
58
+ view: true
59
+ },
60
+ isUserGuide: {
61
+ text: "User Guide",
62
+ view: true
63
+ },
64
+ isMyProfile: {
65
+ text: "My profile",
66
+ view: true
67
+ },
68
+ },
69
+ },
70
+ argTypes: {
71
+ options: {
72
+ description: '**array of shaped objects:**',
73
+ table: {
74
+ type: {
75
+ summary: 'object',
76
+ detail: "{ text: 'string', view: 'bool'}",
77
+ },
78
+ },
79
+ },
80
+ },
81
+ }
82
+
83
+ export const Default = Template.bind({})
@@ -0,0 +1,85 @@
1
+ export const subItems = {
2
+
3
+ subItemsActivity: [
4
+ {
5
+ href: '/activity/taxi',
6
+ title: 'Taxi',
7
+ },
8
+ {
9
+ href: '/activity/parking',
10
+ title: 'Parking',
11
+ },
12
+ {
13
+ href: '/activity/sharing',
14
+ title: 'Sharing',
15
+ },
16
+ ],
17
+
18
+ subItemsStaff: [
19
+ {
20
+ href: '/staff/taxi',
21
+ title: 'People Add',
22
+ },
23
+ {
24
+ href: '/staff/parking',
25
+ title: 'People View',
26
+ },
27
+ {
28
+ href: '/staff/sharing',
29
+ title: 'People Group',
30
+ },
31
+ ],
32
+
33
+ subItemsSetting: [
34
+ {
35
+ href: '/staff/taxi',
36
+ title: 'People Add',
37
+ },
38
+ {
39
+ href: '/staff/parking',
40
+ title: 'People View',
41
+ },
42
+ {
43
+ href: '/staff/sharing',
44
+ title: 'People Group',
45
+ },
46
+ ],
47
+
48
+ subItemsPermissions: [
49
+ {
50
+ href: '/permissions/managestaff',
51
+ title: 'Permissions',
52
+ },
53
+ ],
54
+
55
+ subItemsAnalytics: [
56
+ {
57
+ href: '/analytics/dashboard',
58
+ title: 'Dashboard',
59
+ },
60
+ {
61
+ href: '/analytics/taxi',
62
+ title: 'Taxi',
63
+ },
64
+ {
65
+ href: '/analytics/tollsparking',
66
+ title: 'Parking',
67
+ },
68
+ ],
69
+
70
+ subItemsLegal: [
71
+ {
72
+ href: 'https://www.imbric.com/privacypolicy/',
73
+ title: 'Privacy policy',
74
+ },
75
+ {
76
+ href: 'https://www.imbric.com/general-terms/',
77
+ title: 'General terms',
78
+ },
79
+ {
80
+ href: 'https://www.imbric.com/particular-terms/',
81
+ title: 'Particular terms',
82
+ },
83
+ ],
84
+
85
+ }
@@ -0,0 +1,4 @@
1
+ export { default, Sidebar } from './Sidebar'
2
+ export { subItems } from './constants'
3
+ export { default as styles } from './Sidebar.module.css'
4
+ export { default as SidebarCss } from './Sidebar.css'