Skip to content

Commit 4e69f96

Browse files
committed
Merge
2 parents 95388e4 + 786f566 commit 4e69f96

File tree

9 files changed

+467
-128
lines changed

9 files changed

+467
-128
lines changed

package-lock.json

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"@testing-library/jest-dom": "^5.11.9",
99
"@testing-library/react": "^11.2.5",
1010
"@testing-library/user-event": "^12.8.3",
11+
"axios": "^0.21.1",
1112
"monaco-editor-webpack-plugin": "^3.0.1",
1213
"react": "^17.0.1",
1314
"react-app-rewired": "^2.1.8",

public/assets/login.svg

+9
Loading

public/assets/signup.svg

+9
Loading

src/App.js

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
44
import LandingPage from "./pages/Landing/LandingPage";
55
import LoginPage from "./pages/LoginPage/LoginPage";
66
import { createMuiTheme, ThemeProvider } from "@material-ui/core";
7+
import SignupPage from "./pages/SignupPage/SignupPage";
78
import Recording from "./pages/Recording/Recording";
89

910
const theme = createMuiTheme({
@@ -43,6 +44,7 @@ function App() {
4344
<Switch>
4445
<Route exact path="/" component={LandingPage} />
4546
<Route exact path="/login" component={LoginPage} />
47+
<Route exact path="/register" component={SignupPage} />
4648
<Route exact path="/editor" component={Recording} />
4749
</Switch>
4850
</Router>

src/assets/login-bg.svg

+69
Loading

src/pages/LoginPage/LoginPage.css

+80-47
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,108 @@
11
.login-page {
22
height: 100vh;
33
display: flex;
4+
flex-wrap: wrap;
45
justify-content: center;
56
align-items: center;
7+
background-repeat: no-repeat;
8+
background-position: 0% 100%;
9+
background-size: 100%;
10+
background-image: url("../../assets/login-bg.svg"),
11+
linear-gradient(110.27deg, #3e00a3 0%, #05000e 100%);
12+
}
13+
.tagline {
14+
font-family: Noto Sans;
15+
font-size: 30px;
16+
font-style: normal;
17+
font-weight: 700;
18+
line-height: 41px;
19+
letter-spacing: 0em;
20+
text-align: left;
21+
margin: 120px auto auto 100px;
622
}
723

8-
.login-box {
9-
height: 90vh !important;
24+
.tagline p {
25+
display: block;
26+
font-size: 60px;
27+
margin: 5px 0;
28+
line-height: 82px;
29+
}
30+
.tagline p span {
31+
color: #df9ffe;
1032
}
1133

12-
.login-img-div {
13-
display: flex;
14-
justify-content: center;
15-
align-items: center;
16-
background-color: #eeeeee !important;
17-
border-top-right-radius: 4px;
18-
border-bottom-right-radius: 4px;
34+
.text-field {
35+
background-color: #2c0078;
36+
border-radius: 12px;
37+
color: #fff;
38+
margin: 8px 0 !important;
1939
}
2040

21-
.login-form {
22-
width: 100%;
23-
margin-top: 30px;
24-
margin-bottom: 20px;
41+
.text-field input {
42+
color: #fff;
43+
outline: none;
44+
border: none;
45+
border-radius: 12px !important;
2546
}
2647

27-
.login-label {
28-
font-weight: 500;
29-
margin-bottom: 0;
30-
color: rgb(85, 85, 85);
48+
option {
49+
height: 20px;
50+
padding: 10px 15px;
3151
}
3252

33-
.form-field {
34-
margin: 20px 0;
53+
.text-field div {
54+
border-radius: 12px !important;
55+
color: white;
3556
}
3657

3758
.login-btn {
38-
cursor: pointer;
3959
width: 100%;
40-
padding: 4% 0;
41-
border: none;
42-
border-radius: 5px;
60+
background: linear-gradient(91.9deg, #d59fff 0%, #6a8bff 100%);
61+
border-radius: 12px;
62+
padding: 12px 100px;
4363
color: white;
44-
font-weight: bold;
45-
background-color: #2D076A;
46-
letter-spacing: 2px;
47-
margin-top: 10px;
64+
font-size: 18px;
65+
outline: none;
66+
border: none;
67+
margin-top: 16px;
4868
}
4969

50-
.sign-up-div {
51-
display: flex;
52-
justify-content: center;
53-
align-items: center;
54-
height: 100px;
70+
.login-nav {
5571
width: 100%;
72+
display: flex;
73+
padding: 10px 100px 10px 52px;
74+
justify-content: space-between;
75+
align-items: center;
5676
}
5777

58-
.singup-btn {
59-
cursor: pointer;
60-
width: 60%;
61-
padding: 4% 0;
62-
border: 1px solid #2D076A;
63-
border-radius: 30px;
64-
color: #2D076A;
65-
font-weight: bold;
66-
background-color: transparent;
67-
letter-spacing: 2px;
68-
margin-top: 10px;
69-
transition: 0.2s all ease-in-out;
78+
.login-nav .signin-btn {
79+
display: inline-block;
80+
background-color: #D59FFF;
81+
border-radius: 20px;
82+
padding: 5px 20px;
83+
color: white;
84+
font-size: 18px;
85+
margin-left: 24px;
86+
font-weight: 700;
87+
text-decoration: none;
88+
margin-right: 10px;
7089
}
7190

72-
.singup-btn:hover {
73-
color: white;
74-
background-color: #2D076A;
91+
.login-nav span > span {
92+
margin: 0 25px;
93+
}
94+
95+
.login-nav span > span::after {
96+
content: '';
97+
width: 20px;
98+
height: 5px;
99+
background-color: #D59FFF;
100+
display: inline-block;
101+
margin-bottom: -14px;
102+
margin-left: -38px;
103+
border-radius: 5px;
104+
}
105+
106+
.login-form {
107+
margin-top: 10px;
75108
}

0 commit comments

Comments
 (0)