From 1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Tue, 11 Dec 2018 15:09:46 +0100 Subject: Cleanup about pages --- packages/website/ts/@next/pages/about/jobs.tsx | 4 +- packages/website/ts/@next/pages/about/mission.tsx | 75 ++++++++++++++--------- packages/website/ts/@next/pages/about/press.tsx | 21 ++++--- packages/website/ts/@next/pages/about/team.tsx | 8 ++- 4 files changed, 65 insertions(+), 43 deletions(-) (limited to 'packages/website/ts/@next/pages') diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index 26a6f70f2..0fa066223 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -99,7 +99,9 @@ export const NextAboutJobs = () => ( - {_.map(positions, (position, index) => )} + {_.map(positions, (position, index) => ( + + ))} diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index 1b5e18b10..f8b01dc08 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -1,3 +1,4 @@ +import * as _ from 'lodash'; import * as React from 'react'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; @@ -7,6 +8,24 @@ import { Column, Section, Wrap } from 'ts/@next/components/layout'; import { Separator } from 'ts/@next/components/separator'; import { Heading, Paragraph } from 'ts/@next/components/text'; +const values = [ + { + title: 'Do The Right Thing', + description: 'We acknowledge the broad subjectivity behind doing “the right thing,” and are committed to rigorously exploring its nuance in our decision making. We believe this responsibility drives our decision making above all else, and pledge to act in the best interest of our peers, community, and society as a whole.', + icon: 'right-thing', + }, + { + title: 'Consistently Ship', + description: 'Achieving our mission requires dedication and diligence. We aspire to be an organization that consistently ships. We set high-impact goals that are rooted in data and pride ourselves in consistently outputting outstanding results across the organization.', + icon: 'consistently-ship', + }, + { + title: 'Focus on long-term Impact', + description: 'We anticipate that over time, awareness of the fundamentally disruptive nature of frictionless global exchange will cause some to see this technology as a threat. There will be setbacks, some will claim that this technology is too disruptive, and we will face adversity. Persistence and a healthy long-term focus will see us through these battles.', + icon: 'long-term-impact', + }, +]; + export const NextAboutMission = () => ( ( >
- +
@@ -25,35 +49,26 @@ export const NextAboutMission = () => ( - - - - - - Do The Right Thing - We acknowledge the broad subjectivity behind doing “the right thing,” and are committed to rigorously exploring its nuance in our decision making. We believe this responsibility drives our decision making above all else, and pledge to act in the best interest of our peers, community, and society as a whole. - - - - - - - - - Consistently Ship - Achieving our mission requires dedication and diligence. We aspire to be an organization that consistently ships. We set high-impact goals that are rooted in data and pride ourselves in consistently outputting outstanding results across the organization. - - - - - - - - - Focus on long-term Impact - We anticipate that over time, awareness of the fundamentally disruptive nature of frictionless global exchange will cause some to see this technology as a threat. There will be setbacks, some will claim that this technology is too disruptive, and we will face adversity. Persistence and a healthy long-term focus will see us through these battles. - - + {_.map(values, (item, index) => ( + <> + + + + + + + + {item.title} + + + {item.description} + + + + + {(index < values.length - 1) && } + + ))} diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index ea2485a33..68af1cb0f 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -57,15 +57,16 @@ export const NextAboutPress = () => ( const Highlight = ({ highlight }) => ( <> - - - {highlight.title} - - - {highlight.text} - Read Article - - - + + + {highlight.title} + + + {highlight.text} + Read Article + + + + ); diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index 8d7ab4b0e..9bf031e65 100644 --- a/packages/website/ts/@next/pages/about/team.tsx +++ b/packages/website/ts/@next/pages/about/team.tsx @@ -155,7 +155,9 @@ export const NextAboutTeam = () => ( - {_.map(team, (info: TeamMember, index) => )} + {_.map(team, (info: TeamMember, index) => ( + + ))} @@ -169,7 +171,9 @@ export const NextAboutTeam = () => ( - {_.map(advisors, (info: TeamMember, index) => )} + {_.map(advisors, (info: TeamMember, index) => ( + + ))} -- cgit