import * as _ from 'lodash/core'; import * as React from 'react'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Column, Section, Wrap } from 'ts/@next/components/layout'; import { Heading, Paragraph } from 'ts/@next/components/text'; interface TeamMember { name: string; title: string; imageUrl?: string; } const team: TeamMember[] = [ { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, ]; const advisors: TeamMember[] = [ { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, { name: 'Will Warren', title: 'Co-Founder and CEO', imageUrl: '#', }, ]; export const NextAboutTeam = () => (
0x Team {_.map(team, (info: TeamMember, index) => ( ))}
Advisors {_.map(advisors, (info: TeamMember, index) => ( ))}
); const Member = ({ name, title, imageUrl }: TeamMember) => ( {name} {title} ); const StyledMember = styled.div` width: calc(25% - 10px); margin-bottom: 10px; img, svg { width: 100%; height: auto; object-fit: contain; margin-bottom: 10px; } `;