import * as _ from 'lodash'; import * as React from 'react'; import DocumentTitle from 'react-document-title'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; import { AboutPageLayout } from 'ts/components/aboutPageLayout'; import { Column, Section } from 'ts/components/newLayout'; import { Heading, Paragraph } from 'ts/components/text'; import { WebsitePaths } from 'ts/types'; interface TeamMember { name: string; title: string; imageUrl?: string; } const team: TeamMember[] = [ { imageUrl: '/images/team/willw.jpg', name: 'Will Warren', title: 'co-founder & CEO', }, { imageUrl: '/images/team/amirb.jpg', name: 'Amir Bandeali', title: 'Co-founder & CTO', }, { imageUrl: '/images/team/fabiob.jpg', name: 'Fabio Berger', title: 'senior engineer', }, { imageUrl: '/images/team/alexv.jpg', name: 'Alex Xu', title: 'Director of operations', }, { imageUrl: '/images/team/leonidL.jpg', name: 'Leonid Logvinov', title: 'engineer', }, { imageUrl: '/images/team/benb.jpg', name: 'Ben Burns', title: 'designer', }, { imageUrl: '/images/team/brandonm.jpg', name: 'Brandon Millman', title: 'senior engineer', }, { imageUrl: '/images/team/toms.jpg', name: 'Tom Schmidt', title: 'product manager', }, { imageUrl: '/images/team/jacobe.jpg', name: 'Jacob Evans', title: 'ecosystem engineer', }, { imageUrl: '/images/team/blake.jpg', name: 'Blake Henderson', title: 'ecosystem programs lead', }, { imageUrl: '/images/team/zack.jpg', name: 'Zack Skelly', title: 'lead recruiter', }, { imageUrl: '/images/team/greg.jpg', name: 'Greg Hysen', title: 'blockchain engineer', }, { imageUrl: '/images/team/remcoB.jpg', name: 'Remco Bloemen', title: 'technical fellow', }, { imageUrl: '/images/team/francesco.jpg', name: 'Francesco Agosti', title: 'engineer', }, { imageUrl: '/images/team/melo.jpg', name: 'Mel Oberto', title: 'people operations associate', }, { imageUrl: '/images/team/alexb.jpg', name: 'Alex Browne', title: 'engineer in residence', }, { imageUrl: '/images/team/peterz.jpg', name: 'Peter Zeitz', title: 'research fellow', }, { imageUrl: '/images/team/chrisk.jpg', name: 'Chris Kalani', title: 'director of design', }, { imageUrl: '/images/team/clayr.jpg', name: 'Clay Robbins', title: 'ecosystem development lead', }, { imageUrl: '/images/team/mattt.jpg', name: 'Matt Taylor', title: 'marketing lead', }, { imageUrl: '/images/team/eugenea.jpg', name: 'Eugene Aumson', title: 'engineer', }, { imageUrl: '/images/team/weijew.jpg', name: 'Weijie Wu', title: 'research fellow', }, { imageUrl: '/images/team/rahuls.jpg', name: 'Rahul Singireddy', title: 'relayer success manager', }, { imageUrl: '/images/team/jasons.jpg', name: 'Jason Somensatto', title: 'strategic legal counsel', }, { imageUrl: '/images/team/steveK.jpg', name: 'Steve Klebanoff', title: 'senior engineer', }, { imageUrl: '/images/team/xianny.jpg', name: 'Xianny Ng', title: 'engineer', }, ]; const advisors: TeamMember[] = [ { imageUrl: '/images/team/advisors/frede.jpg', name: 'Fred Ehrsam', title: 'Advisor', }, { imageUrl: '/images/team/advisors/olafc.jpg', name: 'Olaf Carlson-Wee', title: 'Advisor', }, { imageUrl: '/images/team/advisors/joeyk.jpg', name: 'Joey Krug', title: 'Advisor', }, { imageUrl: '/images/team/advisors/lindax.jpg', name: 'Linda Xie', title: 'Advisor', }, { imageUrl: '/images/team/advisors/davids.jpg', name: 'David Sacks', title: 'Advisor', }, ]; export const NextAboutTeam = () => (
0x Team {_.map(team, (info: TeamMember, index: number) => ( ))}
Advisors {_.map(advisors, (info: TeamMember, index: number) => ( ))}
); const StyledGrid = styled.div` &:after { content: ''; clear: both; } `; const Member = ({ name, title, imageUrl }: TeamMember) => ( {name} {name} {title} ); const StyledMember = styled.div` margin-bottom: 10px; float: left; width: calc(50% - 15px); margin-right: 15px; @media (max-width: 600px) { &:nth-child(2n + 1) { clear: left; } } img, svg { width: 100%; height: auto; object-fit: contain; margin-bottom: 10px; } @media (min-width: 600px) { width: calc(33.3333% - 30px); margin-right: 20px; &:nth-child(3n + 1) { clear: left; } } @media (min-width: 900px) { width: calc(25% - 30px); &:nth-child(3n + 1) { clear: none; } &:nth-child(4n + 1) { clear: left; } } `; const Name = styled.h3` color: ${colors.textDarkPrimary}; font-size: 14px; line-height: 1; margin: 0; `; const MemberTitle = styled(Paragraph)` font-size: 14px; `;