Cleanup about pages

This commit is contained in:
Ezekiel Aquino
2018-12-11 15:09:46 +01:00
parent 528d882ec4
commit 1d4d254496
5 changed files with 74 additions and 46 deletions

View File

@@ -3,7 +3,7 @@ import styled from 'styled-components';
import { Link } from 'ts/@next/components/button';
import { ChapterLink } from 'ts/@next/components/chapter_link';
import { Column, Section, Wrap } from 'ts/@next/components/layout';
import { BREAKPOINTS, Column, Section, Wrap } from 'ts/@next/components/layout';
import { SiteWrap } from 'ts/@next/components/siteWrap';
import { Heading, Paragraph } from 'ts/@next/components/text';
@@ -18,12 +18,12 @@ export const AboutPageLayout = (props: Props) => (
<SiteWrap theme="light">
<Section isPadLarge={true}>
<Wrap>
<Column colWidth="1/3">
<Nav colWidth="1/3">
<ChapterLink to="/next/about/mission">Our Mission</ChapterLink>
<ChapterLink to="/next/about/team">Team</ChapterLink>
<ChapterLink to="/next/about/press">Press</ChapterLink>
<ChapterLink to="/next/about/jobs">Jobs</ChapterLink>
</Column>
</Nav>
<Column colWidth="2/3">
<IntroWrap>
@@ -51,3 +51,9 @@ export const AboutPageLayout = (props: Props) => (
const IntroWrap = styled.div`
max-width: 680px;
`;
const Nav = styled(Column)`
@media (max-width: ${BREAKPOINTS.mobile}) {
// display: none;
}
`;

View File

@@ -99,7 +99,9 @@ export const NextAboutJobs = () => (
</Column>
<Column colWidth="2/3">
{_.map(positions, (position, index) => <Position key={`position-${index}`} position={position} /> )}
{_.map(positions, (position, index) => (
<Position key={`position-${index}`} position={position} />
))}
</Column>
</Wrap>
</Section>

View File

@@ -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 = () => (
<AboutPageLayout
title="Creating a tokenized world where all value can flow freely."
@@ -14,7 +33,12 @@ export const NextAboutMission = () => (
>
<Section isFullWidth={true} isNoPadding={true}>
<Wrap width="full">
<Image src="/images/@next/about/about-mission@2x.jpg" height="372" alt="" isCentered={true} />
<Image
src="/images/@next/about/about-mission@2x.jpg"
height="372"
alt=""
isCentered={true}
/>
</Wrap>
</Section>
@@ -25,35 +49,26 @@ export const NextAboutMission = () => (
</Column>
<Column colWidth="2/3" isNoPadding={true}>
<Wrap>
<Column colWidth="1/4">
<Icon name="right-thing" size={120} />
</Column>
<Column colWidth="2/3" isFlexGrow={true}>
<Heading>Do The Right Thing</Heading>
<Paragraph isMuted={true}>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.</Paragraph>
</Column>
</Wrap>
<Separator/>
<Wrap>
<Column colWidth="1/4">
<Icon name="consistently-ship" size={120} />
</Column>
<Column colWidth="2/3" isFlexGrow={true}>
<Heading>Consistently Ship</Heading>
<Paragraph isMuted={true}>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.</Paragraph>
</Column>
</Wrap>
<Separator/>
<Wrap>
<Column colWidth="1/4">
<Icon name="long-term-impact" size={120} />
</Column>
<Column colWidth="2/3" isFlexGrow={true}>
<Heading>Focus on long-term Impact</Heading>
<Paragraph isMuted={true}>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.</Paragraph>
</Column>
</Wrap>
{_.map(values, (item, index) => (
<>
<Wrap>
<Column colWidth="1/4">
<Icon name={item.icon} size={120} />
</Column>
<Column colWidth="2/3">
<Heading>
{item.title}
</Heading>
<Paragraph isMuted={true}>
{item.description}
</Paragraph>
</Column>
</Wrap>
{(index < values.length - 1) && <Separator/>}
</>
))}
</Column>
</Wrap>
</Section>

View File

@@ -57,15 +57,16 @@ export const NextAboutPress = () => (
const Highlight = ({ highlight }) => (
<>
<Wrap>
<Column colWidth="1/3">
<img src={highlight.logo} alt={highlight.title} />
</Column>
<Column colWidth="2/3">
<Paragraph isMuted={false}>{highlight.text}</Paragraph>
<Link href={highlight.href} isWithArrow={true} isNoBorder={true}>Read Article</Link>
</Column>
</Wrap>
<Separator/>
<Wrap>
<Column colWidth="1/3">
<img src={highlight.logo} alt={highlight.title} />
</Column>
<Column colWidth="2/3">
<Paragraph isMuted={false}>{highlight.text}</Paragraph>
<Link href={highlight.href} isWithArrow={true} isNoBorder={true}>Read Article</Link>
</Column>
</Wrap>
<Separator/>
</>
);

View File

@@ -155,7 +155,9 @@ export const NextAboutTeam = () => (
<Column colWidth="2/3">
<Wrap isWrapped={true} isCentered={false}>
{_.map(team, (info: TeamMember, index) => <Member key={`team-${index}`} name={info.name} title={info.title} />)}
{_.map(team, (info: TeamMember, index) => (
<Member key={`team-${index}`} name={info.name} title={info.title} />
))}
</Wrap>
</Column>
</Wrap>
@@ -169,7 +171,9 @@ export const NextAboutTeam = () => (
<Column colWidth="2/3">
<Wrap isWrapped={true} isCentered={false}>
{_.map(advisors, (info: TeamMember, index) => <Member key={`team-${index}`} name={info.name} title={info.title} />)}
{_.map(advisors, (info: TeamMember, index) => (
<Member key={`team-${index}`} name={info.name} title={info.title} />
))}
</Wrap>
</Column>
</Wrap>