l-min-components 1.0.336 → 1.0.343
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.
package/package.json
CHANGED
|
@@ -1,62 +1,67 @@
|
|
|
1
|
-
import styled from "styled-components"
|
|
2
|
-
|
|
1
|
+
import styled from "styled-components";
|
|
3
2
|
|
|
4
3
|
export const Container = styled.div`
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
height: 94vh;
|
|
12
|
-
|
|
13
|
-
@media only screen and (max-width: 1500px) {
|
|
14
|
-
margin: -3%;
|
|
15
|
-
}
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
background: #fff;
|
|
8
|
+
padding-left: 100px;
|
|
9
|
+
height: 100vh;
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
@media only screen and (max-width: 1500px) {
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
20
14
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
font-style: normal;
|
|
25
|
-
font-weight: 800;
|
|
26
|
-
font-size: 40px;
|
|
27
|
-
line-height: 65px;
|
|
28
|
-
color: #313333;
|
|
29
|
-
}
|
|
30
|
-
h2{
|
|
31
|
-
font-family: 'Nunito';
|
|
32
|
-
font-style: normal;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
font-size: 38px;
|
|
35
|
-
line-height: 65px;
|
|
36
|
-
color: #313333;
|
|
37
|
-
}
|
|
38
|
-
p{
|
|
39
|
-
font-family: 'Inter';
|
|
40
|
-
font-style: normal;
|
|
41
|
-
font-weight: 400;
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
line-height: 32px;
|
|
44
|
-
color: #18191F;
|
|
45
|
-
// width: 100%;
|
|
46
|
-
}
|
|
15
|
+
.right {
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-gap: 10px;
|
|
47
18
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
19
|
+
h3 {
|
|
20
|
+
font-family: "Nunito";
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 800;
|
|
23
|
+
font-size: 45px;
|
|
24
|
+
line-height: 45px;
|
|
25
|
+
color: #313333;
|
|
26
|
+
margin-bottom: 10px;
|
|
27
|
+
}
|
|
28
|
+
h2 {
|
|
29
|
+
font-family: "Nunito";
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
font-size: 45px;
|
|
33
|
+
line-height: 65px;
|
|
34
|
+
color: #313333;
|
|
35
|
+
}
|
|
36
|
+
p {
|
|
37
|
+
font-family: "Inter", sans-serif;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
font-size: 18px;
|
|
41
|
+
line-height: 32px;
|
|
42
|
+
color: #18191f;
|
|
43
|
+
max-width: 536px;
|
|
44
|
+
// width: 100%;
|
|
51
45
|
}
|
|
52
46
|
|
|
53
|
-
|
|
54
|
-
@media only screen and (max-width: 1336px) {
|
|
55
|
-
img{
|
|
56
|
-
width: 773px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
47
|
+
@media only screen and (max-width: 1800px) {
|
|
59
48
|
}
|
|
49
|
+
}
|
|
60
50
|
|
|
51
|
+
.left {
|
|
52
|
+
width: 80%;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: end;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
/* align-self: flex-end; */
|
|
57
|
+
img {
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
}
|
|
61
|
+
@media only screen and (max-width: 1336px) {
|
|
62
|
+
img {
|
|
63
|
+
/* width: 773px; */
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
61
67
|
`;
|
|
62
|
-
|
|
@@ -106,7 +106,8 @@ const SideMenu = ({
|
|
|
106
106
|
return (statusText = true);
|
|
107
107
|
}
|
|
108
108
|
if (
|
|
109
|
-
window.location.pathname.includes("/enterprise/reports")
|
|
109
|
+
window.location.pathname.includes("/enterprise/reports") &&
|
|
110
|
+
path === "/enterprise/reports"
|
|
110
111
|
) {
|
|
111
112
|
return (statusText = true);
|
|
112
113
|
}
|
|
@@ -144,8 +145,8 @@ const SideMenu = ({
|
|
|
144
145
|
return (statusText = true);
|
|
145
146
|
}
|
|
146
147
|
if (
|
|
147
|
-
window.location.pathname.includes("/instructor/
|
|
148
|
-
path === "/instructor/
|
|
148
|
+
window.location.pathname.includes("/instructor/courses") &&
|
|
149
|
+
path === "/instructor/courses"
|
|
149
150
|
) {
|
|
150
151
|
return (statusText = true);
|
|
151
152
|
}
|
|
@@ -213,14 +214,11 @@ const SideMenu = ({
|
|
|
213
214
|
window.location.href = `https://developer.learngual.com${path}`;
|
|
214
215
|
}
|
|
215
216
|
|
|
216
|
-
if (
|
|
217
|
-
window.location.hostname.includes("staging")
|
|
218
|
-
) {
|
|
217
|
+
if (window.location.hostname.includes("staging")) {
|
|
219
218
|
window.location.href = `https://559staging.learngual.com${path}`;
|
|
220
219
|
} else if (window.location.hostname.includes("localhost")) {
|
|
221
220
|
window.location.href = `http://localhost:${window.location.port}${path}`;
|
|
222
|
-
}
|
|
223
|
-
|
|
221
|
+
}
|
|
224
222
|
}}
|
|
225
223
|
// to={route.path}
|
|
226
224
|
key={index}
|
|
@@ -125,7 +125,7 @@ export const sideMenuOptions = [
|
|
|
125
125
|
notifications: null,
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
path: "/enterprise/reports
|
|
128
|
+
path: "/enterprise/reports",
|
|
129
129
|
icon: <AwardIcon />,
|
|
130
130
|
iconActive: <AwardIconActive />,
|
|
131
131
|
text: "Reports",
|
|
@@ -178,7 +178,7 @@ export const sideMenuOptions = [
|
|
|
178
178
|
text: "Manage Report",
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
path: "/instructor/
|
|
181
|
+
path: "/instructor/courses",
|
|
182
182
|
icon: <CoursesIcon />,
|
|
183
183
|
iconActive: <CoursesIconActive />,
|
|
184
184
|
text: "Manage Courses",
|