File tree Expand file tree Collapse file tree 4 files changed +81
-52
lines changed Expand file tree Collapse file tree 4 files changed +81
-52
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ export default function Home() {
43
43
return (
44
44
< >
45
45
{ contextHolder }
46
- < Layout >
46
+ < Layout className = "layout" >
47
47
< NoAuthHeader />
48
- < Content >
48
+ < Content className = "content" >
49
49
< div className = "login-card" >
50
50
< h1 > Login</ h1 >
51
51
< Form name = "basic" onFinish = { submitDetails } >
@@ -81,14 +81,23 @@ export default function Home() {
81
81
</ div >
82
82
83
83
< Form . Item >
84
- < Button type = "primary" htmlType = "submit" >
84
+ < Button
85
+ type = "primary"
86
+ htmlType = "submit"
87
+ className = "login-button"
88
+ >
85
89
Login
86
90
</ Button >
87
91
</ Form . Item >
88
92
</ Form >
89
- < p >
90
- Let me < Link href = "/register" > register</ Link >
91
- </ p >
93
+ < div >
94
+ < p className = "registration-text" >
95
+ Not registered yet?{ " " }
96
+ < Link href = "/register" className = "create-account-link" >
97
+ Create an account
98
+ </ Link >
99
+ </ p >
100
+ </ div >
92
101
</ div >
93
102
</ Content >
94
103
</ Layout >
Original file line number Diff line number Diff line change 17
17
18
18
.login-card {
19
19
/* Rectangle 6698 */
20
- margin : 4 rem auto ;
21
- padding : 2rem 4 rem ;
20
+ margin : 8 rem auto ;
21
+ padding : 2rem 3 rem ;
22
22
box-sizing : border-box ;
23
- max-width : 30 rem ;
24
- background : #FFFFFF ;
25
- border : 2px solid #8A817C ;
23
+ max-width : 26 rem ;
24
+ background : #ffffff ;
25
+ border : 2px solid #8a817c ;
26
26
box-shadow : 3px 4px 4px rgba (0 , 0 , 0 , 0.25 );
27
27
border-radius : 15px ;
28
28
}
32
32
font-size : 13px ;
33
33
}
34
34
35
- .content-row-1 {
36
- display : flex ;
37
- flex-direction : row ;
38
- justify-content : space-between ;
39
- }
40
-
41
- .content-title {
42
- // font-family: "Poppins";
43
- // font-style: normal;
44
- font-weight : 600 ;
45
- font-size : 22px ;
46
- line-height : 33px ;
47
- letter-spacing : -0.01em ;
48
- color : #000000 ;
49
- }
50
-
51
- .content-filter {
52
- margin : 1.5rem 0 ;
53
- }
54
-
55
- .edit-button {
56
- margin-right : 0.5rem ;
57
- }
58
-
59
- .filter-button {
60
- margin-left : 8px ;
61
- box-shadow : 0 2px 0 rgba (0 , 0 , 0 , 0.02 ) !important ;
35
+ .login-button {
36
+ width : 100% ;
62
37
}
63
38
64
- .clear-button {
65
- width : 100% ;
39
+ .registration-text {
40
+ color : #bcb8b1 ;
41
+ margin : auto ;
42
+ text-align : center ;
66
43
}
67
44
68
- .categories-multi-select ,
69
- .difficulty-select ,
70
- .order-select {
71
- width : 100% ;
45
+ .create-account-link {
46
+ color : #8a817c ;
72
47
}
73
48
74
- .create-title ,
75
- .new-problem-categories-multi-select ,
76
- .new-problem-difficulty-select ,
77
- .create-description ,
78
- .create-problem-id {
79
- width : 100% ;
80
- margin : 5px ;
49
+ .create-account-link :hover {
50
+ color : #463f3a ;
81
51
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const NoAuthHeader = (): JSX.Element => {
21
21
22
22
return (
23
23
// Header Component
24
- < AntdHeader className = "header" >
24
+ < AntdHeader className = "noauth- header" >
25
25
< div className = "logo-container" >
26
26
< div className = "logo1" > Peer</ div >
27
27
< div className = "logo2" > Prep</ div >
Original file line number Diff line number Diff line change
1
+ $primary-color : #e0afa0 ;
2
+ $secondary-color : #463f3a ;
3
+
4
+ .noauth-header {
5
+ display : flex ;
6
+ align-items : center ;
7
+ background : white !important ;
8
+ border-bottom : 1px solid #f3f3f3 ;
9
+ padding-right : 20px !important ;
10
+ }
11
+
12
+ .logo {
13
+ font-family : " Inter" ;
14
+ font-style : normal ;
15
+ font-weight : 700 ;
16
+ font-size : 20px ;
17
+ display : flex ;
18
+ align-items : center ;
19
+ text-align : center ;
20
+ text-shadow : 0px 2px 10px rgba (0 , 0 , 0 , 0.05 );
21
+ }
22
+
23
+ .logo1 {
24
+ @extend .logo ;
25
+ color : $primary-color ;
26
+ }
27
+
28
+ .logo2 {
29
+ @extend .logo ;
30
+ color : $secondary-color ;
31
+ }
32
+
33
+ .logo-container {
34
+ display : flex ;
35
+ flex-direction : row ;
36
+ padding : 0 16px 0 0 ;
37
+ }
38
+
39
+ .profile-menu-items {
40
+ width : 6rem ;
41
+ padding : 2px 8px ;
42
+ }
43
+
44
+ .profile-menu-icon {
45
+ margin-right : 8px ;
46
+ }
47
+
48
+ .dropdown {
49
+ padding-right : 10px !important ;
50
+ }
You can’t perform that action at this time.
0 commit comments