markblog/components/Header.tsx
Florian Bouillon c2dbe618c7
v1
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-01-04 23:18:19 +01:00

41 lines
889 B
TypeScript

import React from 'react'
import config from '../config'
interface Props {
}
export default class Header extends React.Component<Props, {}> {
constructor(props: Props) {
super(props)
}
render() {
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-repeat: repeat-x;
background-position: bottom;
min-height: 207px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: white;
font-size: 35px;
text-transform: uppercase;
}
img {
position: absolute;
bottom: 0;
min-width: 100%;
height: 50px;
}
`}</style>
</div>
)
}
}