-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathApp.jsx
74 lines (69 loc) · 2.1 KB
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import styled from "styled-components";
import Input from "./Components/Input";
import Button from "./Components/Button"
function App(){
return <MainContent>
<Helloadmin>Register Here!</Helloadmin>
<InputContainer>
<Input type="text" placeholder="Email" />
<Input type="password" placeholder= "Password" />
<Input type="password" placeholder= "Confirm Password" />
</InputContainer>
<Forgotpassword>forgot password?</Forgotpassword>
<ButtonContainer>
<Button content="Sign up" />
</ButtonContainer>
<HorizontalRule/>
<Forgotpassword>Already Have an Account?</Forgotpassword>
<ButtonContainer>
<Button content= "Login"/>
</ButtonContainer>
</MainContent>
}
const MainContent = styled.div`
display:flex;
align-items : center;
flex-direction:column;
height: 90vh;
width:27vw;
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter:blur(8.5px);
border-radius: 10px;
color: rgb(57, 4, 121);
letter-spacing: 0.4rem;
`;
const Helloadmin = styled.h2`
margin: 3rem 0 2rem 0;
`;
const InputContainer = styled.div`
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
height: 20%;
width: 100%;
gap:12px;
`;
const Forgotpassword =styled.h5`
cursor :pointer;
align-items:center;
justify-content:center;
`;
const ButtonContainer= styled.div`
margin:0;
width: 100%;
display: flex;
align-items: center;
justify-content:center;
`;
const HorizontalRule = styled.hr`
width:90%;
height:0.3rem;
border-radius:0.3rem;
border:none;
margin: 1.5rem 0 1rem 0;
background: linear-gradient(to right , #390479 0%, #390479 79%);
backdrop-filter:blur(25px);
`;
export default App;