l-min-components 1.0.503 → 1.0.511

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/package.json +1 -1
  2. package/src/assets/adminSvg/alertIcon.jsx +64 -0
  3. package/src/assets/adminSvg/analyticsIcon.jsx +30 -0
  4. package/src/assets/adminSvg/chatIcon.jsx +36 -0
  5. package/src/assets/adminSvg/cmsIcon.jsx +78 -0
  6. package/src/assets/adminSvg/dashboardIcon.jsx +78 -0
  7. package/src/assets/adminSvg/flaggedIcon.jsx +30 -0
  8. package/src/assets/adminSvg/revenueIcon.jsx +32 -0
  9. package/src/assets/adminSvg/settingsIcon.jsx +30 -0
  10. package/src/assets/adminSvg/ticketsIcon.jsx +70 -0
  11. package/src/assets/adminSvg/usersIcon.jsx +70 -0
  12. package/src/components/AdminAppMainLayout/index.jsx +48 -0
  13. package/src/components/AdminAppMainLayout/index.styled.js +43 -0
  14. package/src/components/AdminNavbar/assets/images/User-avatar.svg.png +0 -0
  15. package/src/components/AdminNavbar/assets/images/logo.png +0 -0
  16. package/src/components/AdminNavbar/assets/svg/add.jsx +14 -0
  17. package/src/components/AdminNavbar/assets/svg/arrow-down.jsx +17 -0
  18. package/src/components/AdminNavbar/assets/svg/book.jsx +34 -0
  19. package/src/components/AdminNavbar/assets/svg/chevron-ddown.jsx +14 -0
  20. package/src/components/AdminNavbar/assets/svg/close.jsx +15 -0
  21. package/src/components/AdminNavbar/assets/svg/coolicon.svg +3 -0
  22. package/src/components/AdminNavbar/assets/svg/message.jsx +39 -0
  23. package/src/components/AdminNavbar/assets/svg/notification.jsx +32 -0
  24. package/src/components/AdminNavbar/assets/svg/people.jsx +17 -0
  25. package/src/components/AdminNavbar/assets/svg/search.jsx +39 -0
  26. package/src/components/AdminNavbar/index.jsx +63 -0
  27. package/src/components/AdminNavbar/index.styled.js +202 -0
  28. package/src/components/AdminSidebar/assets/images/logo.png +0 -0
  29. package/src/components/AdminSidebar/assets/svg/chevronIcon.jsx +32 -0
  30. package/src/components/AdminSidebar/assets/svg/logoutIcon.jsx +54 -0
  31. package/src/components/AdminSidebar/index.jsx +150 -0
  32. package/src/components/AdminSidebar/index.styled.js +296 -0
  33. package/src/components/fullPageLoader/index.jsx +22 -11
  34. package/src/components/fullPageLoader/loader.jsx +4 -4
  35. package/src/components/index.js +1 -0
  36. package/src/hooks/adminSideMenuItems.jsx +253 -0
@@ -0,0 +1,253 @@
1
+ import React from "react";
2
+ import { DashboardIcon, DashboardIconActive } from "../assets/adminSvg/dashboardIcon";
3
+ import { CmsIcon, CmsIconActive } from "../assets/adminSvg/cmsIcon";
4
+ import { AlertIcon, AlertIconActive } from "../assets/adminSvg/alertIcon";
5
+ import { AnalyticsIcon, AnalyticsIconActive } from "../assets/adminSvg/analyticsIcon";
6
+ import { RevenueIcon, RevenueIconActive } from "../assets/adminSvg/revenueIcon";
7
+ import { TicketsIcon, TicketsIconActive } from "../assets/adminSvg/ticketsIcon";
8
+ import { ChatIcon, ChatIconActive } from "../assets/adminSvg/chatIcon";
9
+ import { FlaggedIcon, FlaggedIconActive } from "../assets/adminSvg/flaggedIcon";
10
+ import { UsersIcon, UsersIconActive } from "../assets/adminSvg/usersIcon";
11
+ import { SettingsIcon, SettingsIconActive } from "../assets/adminSvg/settingsIcon";
12
+
13
+
14
+ export const adminSideMenuOptions = [
15
+ {
16
+ optionType: "MENU",
17
+ routes: [
18
+ {
19
+ path: "/dashboard",
20
+ icon: <DashboardIcon />,
21
+ iconActive: <DashboardIconActive />,
22
+ text: "Dashboard",
23
+ hasNotification: false,
24
+ hasDropdown: false,
25
+ notifications: 2,
26
+ dropdownItems: [{}],
27
+ },
28
+ {
29
+ path: null,
30
+ icon: <CmsIcon />,
31
+ iconActive: <CmsIconActive />,
32
+ text: "CMS",
33
+ hasNotification: false,
34
+ hasDropdown: true,
35
+ notifications: null,
36
+ dropdownItems: [
37
+ {
38
+ path: "/skill-test",
39
+ hasNotification: true,
40
+ notifications: 2,
41
+ text: "Skill Test",
42
+ },
43
+ {
44
+ path: "/lessons",
45
+ hasNotification: true,
46
+ notifications: 2,
47
+ text: "Lessons",
48
+ },
49
+ {
50
+ path: "/manage-content",
51
+ hasNotification: false,
52
+ notifications: null,
53
+ text: "Manage Content",
54
+ },
55
+ {
56
+ path: "/drafts",
57
+ hasNotification: false,
58
+ notifications: null,
59
+ text: "Drafts (6)",
60
+ },
61
+ {
62
+ path: "/statistics",
63
+ hasNotification: false,
64
+ notifications: null,
65
+ text: "Statistics",
66
+ },
67
+ ],
68
+ },
69
+ {
70
+ path: null,
71
+ icon: <AlertIcon />,
72
+ iconActive: <AlertIconActive />,
73
+ text: "Alerts",
74
+ hasNotification: false,
75
+ hasDropdown: true,
76
+ notifications: null,
77
+ dropdownItems: [
78
+ {
79
+ path: "/push-notifications",
80
+ hasNotification: false,
81
+ notifications: null,
82
+ text: "Push Notifications",
83
+ },
84
+ {
85
+ path: "/newsletters",
86
+ hasNotification: false,
87
+ notifications: null,
88
+ text: "Newsletters",
89
+ },
90
+ {
91
+ path: "/direct-emailing",
92
+ hasNotification: false,
93
+ notifications: null,
94
+ text: "Direct Emailing",
95
+ },
96
+ {
97
+ path: "/create-ads",
98
+ hasNotification: false,
99
+ notifications: null,
100
+ text: "Create Ads",
101
+ },
102
+ ],
103
+ },
104
+ ],
105
+ },
106
+ {
107
+ optionType: "STATISTICS",
108
+ routes: [
109
+ {
110
+ path: null,
111
+ icon: <AnalyticsIcon />,
112
+ iconActive: <AnalyticsIconActive />,
113
+ text: "Analytics",
114
+ hasNotification: false,
115
+ hasDropdown: true,
116
+ notifications: null,
117
+ dropdownItems: [
118
+ {
119
+ path: "/general-review",
120
+ hasNotification: false,
121
+ notifications: null,
122
+ text: "General Review",
123
+ },
124
+ {
125
+ path: "/personal-account",
126
+ hasNotification: false,
127
+ notifications: null,
128
+ text: "Personal Account",
129
+ },
130
+ {
131
+ path: "/instructor-account",
132
+ hasNotification: false,
133
+ notifications: null,
134
+ text: "Instructor Account",
135
+ },
136
+ {
137
+ path: "/enterprise-account",
138
+ hasNotification: false,
139
+ notifications: null,
140
+ text: "Enterprise Account",
141
+ },
142
+ {
143
+ path: "/developer-account",
144
+ hasNotification: false,
145
+ notifications: null,
146
+ text: "Developer Account",
147
+ },
148
+ ],
149
+ },
150
+ {
151
+ path: "/revenue",
152
+ icon: <RevenueIcon />,
153
+ iconActive: <RevenueIconActive />,
154
+ text: "Revenue",
155
+ hasNotification: false,
156
+ hasDropdown: false,
157
+ notifications: null,
158
+ dropdownItems: [{}],
159
+ },
160
+ ],
161
+ },
162
+ {
163
+ optionType: "SUPPORT",
164
+ routes: [
165
+ {
166
+ path: "/tickets",
167
+ icon: <TicketsIcon />,
168
+ iconActive: <TicketsIconActive />,
169
+ text: "Tickets",
170
+ hasNotification: true,
171
+ hasDropdown: false,
172
+ notifications: 5,
173
+ dropdownItems: [{}],
174
+ },
175
+ {
176
+ path: "/live-chat",
177
+ icon: <ChatIcon />,
178
+ iconActive: <ChatIconActive />,
179
+ text: "Live Chat",
180
+ hasNotification: true,
181
+ hasDropdown: false,
182
+ notifications: 5,
183
+ dropdownItems: [{}],
184
+ },
185
+ {
186
+ path: "/flagged-account",
187
+ icon: <FlaggedIcon />,
188
+ iconActive: <FlaggedIconActive />,
189
+ text: "Flagged Account",
190
+ hasNotification: true,
191
+ hasDropdown: false,
192
+ notifications: 5,
193
+ dropdownItems: [{}],
194
+ },
195
+ {
196
+ path: "/all-users",
197
+ icon: <UsersIcon />,
198
+ iconActive: <UsersIconActive />,
199
+ text: "All Users",
200
+ hasNotification: false,
201
+ hasDropdown: false,
202
+ notifications: null,
203
+ dropdownItems: [{}],
204
+ },
205
+ ],
206
+ },
207
+ {
208
+ optionType: null,
209
+ routes: [
210
+ {
211
+ path: null,
212
+ icon: <SettingsIcon />,
213
+ iconActive: <SettingsIconActive />,
214
+ text: "Settings",
215
+ hasNotification: false,
216
+ hasDropdown: true,
217
+ notifications: null,
218
+ dropdownItems: [
219
+ {
220
+ path: "/profile",
221
+ hasNotification: false,
222
+ notifications: null,
223
+ text: "Profile",
224
+ },
225
+ {
226
+ path: "/admins",
227
+ hasNotification: false,
228
+ notifications: null,
229
+ text: "Admins",
230
+ },
231
+ {
232
+ path: "/notifications",
233
+ hasNotification: false,
234
+ notifications: null,
235
+ text: "Notifications",
236
+ },
237
+ {
238
+ path: "/roles",
239
+ hasNotification: false,
240
+ notifications: null,
241
+ text: "Roles & Permissions",
242
+ },
243
+ {
244
+ path: "/security",
245
+ hasNotification: false,
246
+ notifications: null,
247
+ text: "Security",
248
+ },
249
+ ],
250
+ },
251
+ ],
252
+ },
253
+ ];