-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.js
31 lines (27 loc) · 635 Bytes
/
index.js
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
import React from 'react';
import styled from 'styled-components';
import Form from './form';
import Header from './header';
const Container = styled.main`
display: flex;
flex-direction: column;
min-height: 100%;
width: 100%;
background-color: #f6f9fc;
`;
const Stripe = styled.div`
height: 10vh;
overflow: hidden;
transform: skewY(-8deg);
transform-origin: 0;
background: linear-gradient(-150deg, rgba(255, 255, 255, 0) 40%, #ddecf7 70%);
`;
export default function Login() {
return (
<Container>
<Header />
<Stripe />
<Form fields={['email', 'phoneNumber']} />
</Container>
);
}