l-min-components 1.0.321 → 1.0.331

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.
@@ -20,17 +20,34 @@ import { BsChatSquareText } from "react-icons/bs";
20
20
  import { MdOutlineBook } from "react-icons/md";
21
21
  import UserImage from "../assets/images/dashboardImage.png";
22
22
  import Learning from "../assets/svg/learning";
23
- import { AwardIcon } from "../assets/svg/award";
24
- import { DocumentIcon } from "../assets/svg/document";
25
- import { TeamsIcon } from "../assets/svg/teams";
23
+ import { AwardIcon, AwardIconActive } from "../assets/svg/award";
24
+ import { DocumentIcon, DocumentIconActive } from "../assets/svg/document";
25
+ import { TeamsIcon, TeamsIconActive } from "../assets/svg/teams";
26
26
  import { VolumeIcon } from "../assets/svg/volume";
27
- import { BookIcon } from "../assets/svg/book";
28
- import { DashboardIcon } from "../assets/svg/dashboard";
27
+ import { BookIcon, CoursesIcon, CoursesIconActive } from "../assets/svg/book";
28
+ import { DashboardIcon, DashboardIconActive } from "../assets/svg/dashboard";
29
29
  import CommunityIcon from "../components/sideNav/svg/commIcon";
30
30
  import FunIcon from "../components/sideNav/svg/fun";
31
31
  import DuetIcon from "../components/sideNav/svg/duetIcon";
32
32
  import SpeechIcon from "../components/sideNav/svg/speechIcon";
33
33
  import DictionaryIcon from "../components/sideNav/svg/dictionaryIcon";
34
+ import { MessageIcon } from "../assets/svg/message";
35
+ import { MessagesIcon, MessagesIconActive } from "../assets/svg/messagesIcon";
36
+ import {
37
+ AnnouncementsIcon,
38
+ AnnouncementsIconActive,
39
+ } from "../assets/svg/announcementsIcon";
40
+ import {
41
+ FileManagerIcon,
42
+ FileManagerIconActive,
43
+ } from "../assets/svg/fileManagerIcon";
44
+ import { LibraryIcon, LibraryIconActive } from "../assets/svg/libraryIcon";
45
+ import { AddOnIcon, AddOnIconActive } from "../assets/svg/addOnIcon";
46
+ import {
47
+ ManageStudentsIcon,
48
+ ManageStudentsIconActive,
49
+ } from "../assets/svg/students";
50
+ import { ApiIcon, ApiIconActive } from "../assets/svg/apiIcon";
34
51
 
35
52
  export const user = {
36
53
  name: "John Doe",
@@ -77,17 +94,205 @@ export const sideMenuOptions = [
77
94
  routes: [
78
95
  {
79
96
  path: "/",
80
- icon: <FaCode />,
97
+ icon: <ApiIcon />,
98
+ iconActive: <ApiIconActive />,
81
99
  text: "API",
82
100
  // notifications: 2,
83
101
  },
84
102
  {
85
103
  path: "/documentation",
86
104
  icon: <DocumentIcon />,
105
+ iconActive: <DocumentIconActive />,
87
106
  text: "Documentation",
88
107
  // notifications: 5,
89
108
  },
90
- { path: "/report", icon: <AwardIcon />, text: "Report" },
109
+ {
110
+ path: "/report",
111
+ icon: <AwardIcon />,
112
+ iconActive: <AwardIconActive />,
113
+ text: "Report",
114
+ },
115
+ ],
116
+ },
117
+ {
118
+ userType: "enterprise",
119
+ routes: [
120
+ {
121
+ path: "/enterprise/dashboard",
122
+ icon: <DashboardIcon />,
123
+ iconActive: <DashboardIconActive />,
124
+ text: "Dashboard",
125
+ notifications: null,
126
+ },
127
+ {
128
+ path: "/enterprise/reports/students",
129
+ icon: <AwardIcon />,
130
+ iconActive: <AwardIconActive />,
131
+ text: "Reports",
132
+ },
133
+ {
134
+ path: "/enterprise/courses",
135
+ icon: <CoursesIcon />,
136
+ iconActive: <CoursesIconActive />,
137
+ text: "Courses",
138
+ },
139
+ {
140
+ path: "/enterprise/manage-teams/index",
141
+ icon: <TeamsIcon />,
142
+ iconActive: <TeamsIconActive />,
143
+ text: "Manage Teams",
144
+ },
145
+ {
146
+ path: "/enterprise/messages",
147
+ icon: <MessagesIcon />,
148
+ iconActive: <MessagesIconActive />,
149
+ text: "Messages",
150
+ },
151
+ {
152
+ path: "/enterprise/announcements/index",
153
+ icon: <AnnouncementsIcon />,
154
+ iconActive: <AnnouncementsIconActive />,
155
+ text: "Announcements",
156
+ },
157
+ {
158
+ path: "/enterprise/file-manager",
159
+ icon: <FileManagerIcon />,
160
+ iconActive: <FileManagerIconActive />,
161
+ text: "File Manager",
162
+ },
163
+ ],
164
+ },
165
+ {
166
+ userType: "instructor",
167
+ routes: [
168
+ {
169
+ path: "/instructor/dashboard",
170
+ icon: <DashboardIcon />,
171
+ iconActive: <DashboardIconActive />,
172
+ text: "Dashboard",
173
+ },
174
+ {
175
+ path: "/instructor/reports",
176
+ icon: <AwardIcon />,
177
+ iconActive: <AwardIconActive />,
178
+ text: "Manage Report",
179
+ },
180
+ {
181
+ path: "/instructor/manage-courses",
182
+ icon: <CoursesIcon />,
183
+ iconActive: <CoursesIconActive />,
184
+ text: "Manage Courses",
185
+ },
186
+ {
187
+ path: "/instructor/manage-students",
188
+ icon: <ManageStudentsIcon />,
189
+ iconActive: <ManageStudentsIconActive />,
190
+ text: "Manage Student",
191
+ },
192
+ {
193
+ path: "/instructor/messages",
194
+ icon: <MessagesIcon />,
195
+ iconActive: <MessagesIconActive />,
196
+ text: "Messages",
197
+ },
198
+ {
199
+ path: "/instructor/announcements",
200
+ icon: <AnnouncementsIcon />,
201
+ iconActive: <AnnouncementsIconActive />,
202
+ text: "Announcements",
203
+ },
204
+ {
205
+ path: "/instructor/contracts",
206
+ icon: <DocumentIcon />,
207
+ iconActive: <DocumentIconActive />,
208
+ text: "Contracts",
209
+ },
210
+ {
211
+ path: "/instructor/file-manager",
212
+ icon: <FileManagerIcon />,
213
+ iconActive: <FileManagerIconActive />,
214
+ text: "File Manager",
215
+ },
216
+ ],
217
+ },
218
+ {
219
+ userType: "personal",
220
+ routes: [
221
+ {
222
+ path: "/personal/dashboard",
223
+ icon: <DashboardIcon />,
224
+ iconActive: <DashboardIconActive />,
225
+ text: "Dashboard",
226
+ },
227
+ {
228
+ path: "/personal/library",
229
+ icon: <LibraryIcon />,
230
+ iconActive: <LibraryIconActive />,
231
+ text: "Library",
232
+ },
233
+ {
234
+ path: "/personal/courses",
235
+ icon: <CoursesIcon />,
236
+ iconActive: <CoursesIconActive />,
237
+ text: "My Courses",
238
+ },
239
+ {
240
+ path: "/personal/reports",
241
+ icon: <AwardIcon />,
242
+ iconActive: <AwardIconActive />,
243
+ text: "Reports",
244
+ },
245
+ {
246
+ path: "/personal/messages",
247
+ icon: <MessagesIcon />,
248
+ iconActive: <MessagesIconActive />,
249
+ text: "Messages",
250
+ },
251
+ {
252
+ path: "/personal/addons",
253
+ icon: <AddOnIcon />,
254
+ iconActive: <AddOnIconActive />,
255
+ text: "Add on",
256
+ },
257
+ ],
258
+ },
259
+ {
260
+ userType: "user",
261
+ routes: [
262
+ {
263
+ path: "/dashboard",
264
+ icon: <DashboardIcon />,
265
+ text: "Dashboard",
266
+ notifications: 1,
267
+ },
268
+ { path: "/courses", icon: <FaBook />, text: "Courses" },
269
+ { path: "/teams", icon: <FaUsers />, text: "My teams" },
270
+ { path: "/profile", icon: <FaUser />, text: "Profile" },
271
+ { path: "/help", icon: <FaQuestion />, text: "Help" },
272
+ ],
273
+ },
274
+ ];
275
+
276
+ const routes = [
277
+ {
278
+ userType: "admin",
279
+ routes: [
280
+ {
281
+ path: "/dashboard",
282
+ icon: <FaChartLine />,
283
+ text: "Dashboard",
284
+ notifications: 2,
285
+ },
286
+ {
287
+ path: "/reports",
288
+ icon: <FaFileAlt />,
289
+ text: "Reports",
290
+ notifications: 5,
291
+ },
292
+ { path: "/courses", icon: <FaBook />, text: "Courses" },
293
+ { path: "/teams", icon: <FaUsers />, text: "Manage teams" },
294
+ { path: "/announcements", icon: <FaBullhorn />, text: "Announcements" },
295
+ { path: "/settings", icon: <FaCog />, text: "Settings" },
91
296
  ],
92
297
  },
93
298
  {