l-min-components 1.0.374 → 1.0.377
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 +1 -1
- package/src/components/fileRightBar/assets/enterpriseUpgrade.png +0 -0
- package/src/components/fileRightBar/enterpriseRightBar/index.jsx +101 -0
- package/src/components/fileRightBar/enterpriseRightBar/upgrade.jsx +43 -0
- package/src/components/fileRightBar/styles/index.jsx +55 -0
- package/src/components/messageAddon/messages/index.styled.js +1 -0
package/package.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {
|
|
3
|
+
BannerWrapper,
|
|
4
|
+
InstructorContainer,
|
|
5
|
+
NewLanguage,
|
|
6
|
+
RecentAdded,
|
|
7
|
+
Container,
|
|
8
|
+
Upgrade,
|
|
9
|
+
Users,
|
|
10
|
+
UploadProgressContainer
|
|
11
|
+
} from "../styles";
|
|
12
|
+
import Button from "../../button";
|
|
13
|
+
import CircularProgressBar from "../components/progressBar";
|
|
14
|
+
import UpgradeIcon from "../assets/Feature.png";
|
|
15
|
+
import { UploadProgress } from "../assets/uploadProgressIcon";
|
|
16
|
+
import ProgressBar from "../../progressBar";
|
|
17
|
+
import UpgradeComponent from "./upgrade";
|
|
18
|
+
import LessonIcon from "../assets/lession";
|
|
19
|
+
import LessonFlag from "../assets/lessonflag";
|
|
20
|
+
import Ellipse from "../assets/Ellipse.png";
|
|
21
|
+
import Ellipse2 from "../assets/Ellipse2.png";
|
|
22
|
+
import Ellipse3 from "../assets/Ellipse3.png";
|
|
23
|
+
import Ellipse4 from "../assets/Ellipse4.png";
|
|
24
|
+
import SliderIcon from "../assets/slider";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {{
|
|
28
|
+
* CourseClick: function,
|
|
29
|
+
* UpgradeClick: function,
|
|
30
|
+
* }} props - properties of graph Component
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
const EnterpriseRightBar = ({UpgradeClick, CourseClick}) => {
|
|
35
|
+
|
|
36
|
+
return (
|
|
37
|
+
<InstructorContainer>
|
|
38
|
+
<BannerWrapper>
|
|
39
|
+
<div className="head_instructor head_enterprise">
|
|
40
|
+
<h3>Best Course</h3>
|
|
41
|
+
</div>
|
|
42
|
+
<NewLanguage>
|
|
43
|
+
<div className="top_section">
|
|
44
|
+
<div className="lession_cont">
|
|
45
|
+
<LessonIcon />
|
|
46
|
+
<p> 9 lessions</p>
|
|
47
|
+
</div>
|
|
48
|
+
<div className="flag_cont">
|
|
49
|
+
<LessonFlag />
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div className="buttom_section">
|
|
55
|
+
<p>French for Beginners</p>
|
|
56
|
+
</div>
|
|
57
|
+
</NewLanguage>
|
|
58
|
+
<SliderIcon />
|
|
59
|
+
</BannerWrapper>
|
|
60
|
+
<RecentAdded>
|
|
61
|
+
<div className="top_area">
|
|
62
|
+
<h5>Recently added</h5>
|
|
63
|
+
<p>See all</p>
|
|
64
|
+
</div>
|
|
65
|
+
<div className="users_list">
|
|
66
|
+
<div className="user">
|
|
67
|
+
<img src={Ellipse} alt="user" />
|
|
68
|
+
</div>
|
|
69
|
+
<div className="user">
|
|
70
|
+
<img src={Ellipse2} alt="user" />
|
|
71
|
+
</div>
|
|
72
|
+
<div className="user">
|
|
73
|
+
<img src={Ellipse3} alt="user" />
|
|
74
|
+
</div>
|
|
75
|
+
<div className="user">
|
|
76
|
+
<img src={Ellipse4} alt="user" />
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
<Button
|
|
80
|
+
type="primary"
|
|
81
|
+
text="Create Course"
|
|
82
|
+
styles={{
|
|
83
|
+
marginTop: "29px",
|
|
84
|
+
fontSize: "16px",
|
|
85
|
+
width: "203px",
|
|
86
|
+
gap: "8px",
|
|
87
|
+
padding: "20px 6px",
|
|
88
|
+
height: "40px",
|
|
89
|
+
boxShadow: "0px 10px 20px 0px rgba(254, 191, 16, 0.25)",
|
|
90
|
+
}}
|
|
91
|
+
onClick={CourseClick}
|
|
92
|
+
/>
|
|
93
|
+
</RecentAdded>
|
|
94
|
+
|
|
95
|
+
<UpgradeComponent UpgradeClick={UpgradeClick} />
|
|
96
|
+
|
|
97
|
+
</InstructorContainer>
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export default EnterpriseRightBar;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {
|
|
3
|
+
Upgrade,
|
|
4
|
+
} from "../styles";
|
|
5
|
+
import Button from "../../button";
|
|
6
|
+
import UpgradeIcon from "../assets/Feature.png";
|
|
7
|
+
import EnterpriseUpgrade from "../assets/enterpriseUpgrade.png"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
const UpgradeComponent = ({UpgradeClick}) => {
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
|
|
14
|
+
<Upgrade>
|
|
15
|
+
<div className="container">
|
|
16
|
+
<img src={EnterpriseUpgrade} alt="upgrad box" />
|
|
17
|
+
<div className="upgrade_text">
|
|
18
|
+
<p>You are running out of slot?</p>
|
|
19
|
+
</div>
|
|
20
|
+
<p className="reminder">
|
|
21
|
+
45 slots remaining out of 50 slots for bronze package
|
|
22
|
+
</p>
|
|
23
|
+
<Button
|
|
24
|
+
type="primary"
|
|
25
|
+
text="Upgrade"
|
|
26
|
+
styles={{
|
|
27
|
+
marginTop: "12px",
|
|
28
|
+
fontSize: "16px",
|
|
29
|
+
width: "171px",
|
|
30
|
+
height: "38.641px",
|
|
31
|
+
gap: "8px",
|
|
32
|
+
padding: "15.457px 30.913px",
|
|
33
|
+
}}
|
|
34
|
+
onClick={UpgradeClick}
|
|
35
|
+
/>
|
|
36
|
+
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
</Upgrade>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default UpgradeComponent;
|
|
@@ -67,6 +67,27 @@ export const BannerWrapper = styled.div`
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
.head_enterprise{
|
|
71
|
+
text-align: left;
|
|
72
|
+
color: var(--Neutral-90, #313333);
|
|
73
|
+
font-family: Nunito;
|
|
74
|
+
font-size: 13.911px;
|
|
75
|
+
font-style: normal;
|
|
76
|
+
font-weight: 700;
|
|
77
|
+
line-height: 15.457px; /* 111.111% */
|
|
78
|
+
letter-spacing: 0.278px;
|
|
79
|
+
|
|
80
|
+
h3{
|
|
81
|
+
color: var(--Neutral-90, #313333);
|
|
82
|
+
font-family: Nunito;
|
|
83
|
+
font-size: 13.911px;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
line-height: 15.457px; /* 111.111% */
|
|
87
|
+
letter-spacing: 0.278px;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
70
91
|
.head{
|
|
71
92
|
display: flex;
|
|
72
93
|
align-items: center;
|
|
@@ -176,6 +197,40 @@ margin-top: 20px;
|
|
|
176
197
|
margin-top: -27%;
|
|
177
198
|
}
|
|
178
199
|
|
|
200
|
+
.upgrade_text{
|
|
201
|
+
background: rgba(0,194,194,0.1);
|
|
202
|
+
border-radius: 5px;
|
|
203
|
+
padding: 5px;
|
|
204
|
+
height: 32px;
|
|
205
|
+
width: 100%;
|
|
206
|
+
margin-bottom: 10px;
|
|
207
|
+
margin-top: -10px;
|
|
208
|
+
display: flex;
|
|
209
|
+
justify-content: center;
|
|
210
|
+
align-items: center;
|
|
211
|
+
|
|
212
|
+
p{
|
|
213
|
+
color: var(--Neutral-90, #313333);
|
|
214
|
+
text-align: center;
|
|
215
|
+
font-family: Nunito;
|
|
216
|
+
font-size: 14px;
|
|
217
|
+
font-style: normal;
|
|
218
|
+
font-weight: 500;
|
|
219
|
+
width: 100%;
|
|
220
|
+
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.reminder{
|
|
225
|
+
color: var(--Neutral-70, #636666);
|
|
226
|
+
text-align: center;
|
|
227
|
+
font-family: Nunito;
|
|
228
|
+
font-size: 14px;
|
|
229
|
+
font-style: normal;
|
|
230
|
+
font-weight: 400;
|
|
231
|
+
width: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
179
234
|
p{
|
|
180
235
|
color: var(--neutral-80, #4A4D4D);
|
|
181
236
|
text-align: center;
|