l-min-components 1.0.564 → 1.0.566

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,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.564",
3
+ "version": "1.0.566",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -0,0 +1,57 @@
1
+ import React from "react";
2
+ import { AdminLoginContainer } from "./index.styled";
3
+ import bg from "./assets/images/login_bg.png";
4
+ import logo from "./assets/images/logo.png";
5
+ import { Link } from "react-router-dom";
6
+ import ButtonComponent from "../button";
7
+ import InputComponent from "../input";
8
+
9
+ const AdminLogin = () => {
10
+ return (
11
+ <AdminLoginContainer>
12
+ <div className="img_container">
13
+ <img src={bg} alt="" />
14
+ </div>
15
+
16
+ <div className="login_form">
17
+ <div className="lgf_header">
18
+ <img src={logo} alt="" />
19
+ </div>
20
+
21
+ <div className="form_card">
22
+ <h5 className="welcome_txt"> WELCOME </h5>
23
+ <p className="welcome_subtile">
24
+ {" "}
25
+ Please login to your admin dashboard{" "}
26
+ </p>
27
+
28
+ <form action="">
29
+ <div className="form_group">
30
+ <InputComponent
31
+ inputType="email"
32
+ label="Email"
33
+ placeholder="yourmail@mail.com"
34
+ hasError={false}
35
+ />
36
+ </div>
37
+ <div className="form_group">
38
+ <InputComponent
39
+ inputType="password"
40
+ label="Password"
41
+ placeholder="your password here"
42
+ />
43
+ </div>
44
+
45
+ <div className="forgot_pass_link">
46
+ <Link to="/forgot-password"> Forgot Password?</Link>
47
+ </div>
48
+
49
+ <ButtonComponent text={"Login"} styles={{ width: "100%" }} />
50
+ </form>
51
+ </div>
52
+ </div>
53
+ </AdminLoginContainer>
54
+ );
55
+ };
56
+
57
+ export default AdminLogin;
@@ -0,0 +1,80 @@
1
+ import styled from "styled-components";
2
+
3
+ export const AdminLoginContainer = styled.div`
4
+ display: flex;
5
+
6
+ .img_container {
7
+ width: 50%;
8
+
9
+ img {
10
+ width: 100%;
11
+ }
12
+ }
13
+
14
+ .login_form {
15
+ background-color: #fff;
16
+ width: 50%;
17
+ .lgf_header {
18
+ display: flex;
19
+ justify-content: end;
20
+ margin-bottom: 85px;
21
+ padding-right: 53px;
22
+ padding-top: 50px;
23
+ img {
24
+ max-width: 81px;
25
+ width: 100%;
26
+ }
27
+ }
28
+ .form_card {
29
+ max-width: 443px;
30
+ margin: 0 auto;
31
+
32
+ .welcome_txt {
33
+ color: #3ac2c2;
34
+ font-size: 32px;
35
+ font-weight: 700;
36
+ line-height: normal;
37
+ margin-bottom: 4px;
38
+ text-align: center;
39
+ }
40
+
41
+ .welcome_subtile {
42
+ color: #636666;
43
+ text-align: center;
44
+ font-size: 16px;
45
+ font-weight: 500;
46
+ letter-spacing: 0.32px;
47
+ }
48
+
49
+ form {
50
+ padding-top: 50px;
51
+
52
+ .form_group {
53
+ margin-bottom: 20px;
54
+ }
55
+
56
+ .forgot_pass_link {
57
+ display: flex;
58
+ justify-content: end;
59
+ margin-bottom: 50px;
60
+
61
+ a {
62
+ color: #f95454;
63
+ font-size: 14px;
64
+ font-weight: 600;
65
+ letter-spacing: 0.28px;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ label {
71
+ margin-bottom: 8px;
72
+ font-weight: 600;
73
+ }
74
+
75
+ button {
76
+ box-shadow: 0px 10px 20px 0px rgba(254, 191, 16, 0.25);
77
+ font-weight: 700;
78
+ }
79
+ }
80
+ `;