-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.js
32 lines (28 loc) · 632 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
import React from 'react';
import { css } from 'linaria';
import Logo from './logo';
import Form from './form';
import Header from './header';
const container = css`
display: flex;
flex-direction: column;
min-height: 100%;
width: 100%;
background-color: #f6f9fc;
`;
const stripe = css`
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 (
<main className={container}>
<Header />
<div className={stripe} />
<Form />
</main>
);
}