-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeader.tsx
More file actions
88 lines (82 loc) · 2.16 KB
/
Header.tsx
File metadata and controls
88 lines (82 loc) · 2.16 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import { styled } from '@linaria/react';
import { Heading } from '../../components/Heading/Heading';
import Prose from '../../components/Prose/Prose';
import Chip from '../../components/Chip/Chip';
import { Icon } from '../../components/Icon';
import { Button } from '../../components/Button';
import Link from '../../components/Link/Link';
const BasicInfoList = styled.ul`
display: flex;
gap: 0.5em 1em;
list-style: none;
margin: 0;
padding: 0;
flex-wrap: wrap;
`;
const BasicInfo = () => (
<BasicInfoList>
<Chip>📍 Halifax, Canada</Chip>
<Chip>
<Link href="mailto:davidleger95@gmail.com" external>
📬 davidleger95@gmail.com
</Link>
</Chip>
<Chip>
<Link href="https://davejs.dev" external>
🌐 davejs.dev
</Link>
</Chip>
<Chip>
<Link href="https://linkedin.com/in/davejs" external>
👨💼 LinkedIn
</Link>
</Chip>
<Chip>
<Link href="https://github.com/davejsdev" external>
👨💻 GitHub
</Link>
</Chip>
</BasicInfoList>
);
const StyledHeader = styled.header`
display: grid;
gap: 1rem;
`;
const CtaGroup = styled.div`
display: flex;
flex-wrap: wrap;
gap: 1em;
`;
function Header() {
return (
<StyledHeader>
<CtaGroup>
<Button
href="https://github.com/davejsdev/resume.davejs.dev"
target="_blank"
rel="noopener noreferer"
>
<Icon icon="github-plain" />
source
</Button>
<Button
href="/david-leger-resume.pdf"
target="_blank"
rel="noopener noreferer"
>
PDF version
</Button>
</CtaGroup>
<Heading level={1}>David Leger</Heading>
<BasicInfo />
<Prose size="large">
Software engineer with design sensibilities and a strong product
mindset. Track record of building high quality web products with over 8+
years of experience. Extensive experience with remote-first companies,
working with high levels of autonomy, solving cross-functional problems,
and managing ambiguity.
</Prose>
</StyledHeader>
);
}
export default Header;