-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.js
39 lines (33 loc) · 796 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
import React, { Component } from 'react';
import jss from 'jss';
import preset from 'jss-preset-default';
import Form from './form';
import Header from './header';
jss.setup(preset());
const styles = {
container: {
display: 'flex',
flexDirection: 'column',
minHeight: '100%',
width: '100%',
backgroundColor: '#f6f9fc'
},
stripe: {
height: '10vh',
overflow: 'hidden',
transform: 'skewY(-8deg)',
transformOrigin: 0,
background:
'linear-gradient(-150deg, rgba(255, 255, 255, 0) 40%, #ddecf7 70%)'
}
};
const { classes } = jss.createStyleSheet(styles).attach();
export default function Login() {
return (
<main className={classes.container}>
<Header />
<div className={classes.stripe} />
<Form />
</main>
);
}