Fixed linting 😃

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-02-06 21:18:11 +01:00
parent c4775134de
commit fee40613f1
16 changed files with 249 additions and 157 deletions

View File

@ -4,13 +4,14 @@ import config from '../config'
export default class Header extends React.Component<{}, {}> {
public render() {
const t = `linear-gradient(90deg, ${config.colors[400]} 0%, ${config.colors[600]} 92.19%)`
return (
<div>
{/* <p>Bienvenue sur le Portfolio de Florian BOUILLON !</p> */}
<style jsx>{`
div {
position: relative;
background: url('/clouds.svg'), linear-gradient(90deg, ${config.colors[400]} 0%, ${config.colors[600]} 92.19%);
background: url('/clouds.svg'), ${t};
background-repeat: repeat-x;
background-position: bottom;
min-height: 207px;
@ -22,12 +23,6 @@ export default class Header extends React.Component<{}, {}> {
font-size: 35px;
text-transform: uppercase;
}
img {
position: absolute;
bottom: 0;
min-width: 100%;
height: 50px;
}
`}</style>
</div>
)