Files: 0699ec66f00b3582d31fe6e4bb8bd34beacb7d63 / _components / index / Header.js
658 bytesRaw
1 | // Packages |
2 | import React from 'react'; |
3 | import css from 'next/css'; |
4 | |
5 | // Components |
6 | import Anchor from '../common/Anchor'; |
7 | |
8 | export default () => ( |
9 | <header className={headerStyle}> |
10 | <h1 className={titleStyle}>Rômulo Alves</h1> |
11 | <h2 className={subtitleStyle}> |
12 | Web Developer at <Anchor href="https://www.cwi.com.br/" title="CWI Software" color="#FFF">@cwisoftware</Anchor> |
13 | </h2> |
14 | </header> |
15 | ); |
16 | |
17 | const headerStyle = css({ |
18 | background: '#EF5350', |
19 | color: '#FFF', |
20 | left: 0, |
21 | padding: '50px 0', |
22 | right: 0, |
23 | textAlign: 'center', |
24 | top: 0 |
25 | }); |
26 | |
27 | const titleStyle = css({ |
28 | fontSize: '25pt' |
29 | }); |
30 | |
31 | const subtitleStyle = css({ |
32 | fontSize: '12pt' |
33 | }); |
34 |
Built with git-ssb-web