Skip to content

Commit 4536b05

Browse files
author
Luciano Nooijen
committed
Added all team members
1 parent 9caed33 commit 4536b05

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

components/TeamMember.jsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ const TeamMemberWrapper = styled.div`
5555
const TeamMemberPhoto = styled.figure`
5656
margin: 1rem;
5757
overflow: hidden;
58-
width: 100%;
59-
height: auto;
58+
height: 30rem;
6059
transition: 0.5s;
60+
position: relative;
6161
6262
&::before {
6363
content: '';
@@ -78,6 +78,8 @@ const TeamMemberPhoto = styled.figure`
7878
font-size: 3em;
7979
color: ${theme.colors.green} !important;
8080
min-height: 5em;
81+
height: 100%;
82+
width: auto;
8183
}
8284
`;
8385

@@ -101,7 +103,7 @@ const TeamMember = props => {
101103
xl={2}
102104
>
103105
<TeamMemberWrapper>
104-
<TeamMemberPhoto>
106+
<TeamMemberPhoto img={img}>
105107
<img src={img} alt={getAltText(name, alt)} />
106108
</TeamMemberPhoto>
107109
<h4>{name}</h4>

pages/over.jsx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ const Over = () => (
9090
instagram="https://www.instagram.com/lucianonooijen"
9191
linkedin="https://www.linkedin.com/in/lucianonooijen"
9292
/>
93+
<TeamMember
94+
name="Julian van Dijk"
95+
title="Full-stack developer"
96+
img="/static/img/team/julian.png"
97+
facebook="https://www.facebook.com/lucianonooijen"
98+
twitter="https://twitter.com/lucianonooijen"
99+
instagram="https://www.instagram.com/lucianonooijen"
100+
linkedin="https://www.linkedin.com/in/lucianonooijen"
101+
/>
93102
<TeamMember
94103
name="Richard van 't Hof"
95104
title="Designer &amp; front-end developer"
@@ -99,9 +108,18 @@ const Over = () => (
99108
instagram="https://www.instagram.com/richardvanthof"
100109
linkedin="https://www.linkedin.com/in/richardvanthof"
101110
/>
111+
<TeamMember
112+
name="Thomas Bodlaender"
113+
title="Sales accountmanager"
114+
img="/static/img/team/thomas.png"
115+
facebook="https://www.facebook.com/richardvanthof"
116+
twitter="https://twitter.com/richardvanthof"
117+
instagram="https://www.instagram.com/richardvanthof"
118+
linkedin="https://www.linkedin.com/in/richardvanthof"
119+
/>
102120
<TeamMember
103121
name="Nick Broekarts"
104-
title="Online Marketeer"
122+
title="Online marketeer &amp; SEO specialist"
105123
img="/static/img/team/nick.png"
106124
facebook="https://www.facebook.com/richardvanthof"
107125
twitter="https://twitter.com/richardvanthof"

static/img/team/julian.png

219 KB
Loading

static/img/team/nick.png

-57.8 KB
Loading

static/img/team/thomas.png

122 KB
Loading

0 commit comments

Comments
 (0)