-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.js
40 lines (36 loc) · 712 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
32
33
34
35
36
37
38
39
40
import React, { Component } from 'react';
import { Col, Block } from 'jsxstyle';
import Form from './form';
import Header from './header';
function Container({ children }) {
return (
<Col
component="main"
minHeight="100%"
width="100%"
backgroundColor="#f6f9fc"
>
{children}
</Col>
);
}
function Stripe() {
return (
<Block
height="10vh"
overflow="hidden"
transform="skewY(-8deg)"
transformOrigin={0}
background="linear-gradient(-150deg, rgba(255, 255, 255, 0) 40%, #ddecf7 70%)"
/>
);
}
export default function Login() {
return (
<Container>
<Header />
<Stripe />
<Form />
</Container>
);
}