aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-11 22:09:46 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-11 22:09:46 +0800
commit1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1 (patch)
tree55d8c896d87cd7aff8417227a9ec41eb0e57dbcc /packages/website/ts
parent528d882ec4103441b8eacb4d1fdcf1613830a960 (diff)
downloaddexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.tar
dexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.tar.gz
dexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.tar.bz2
dexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.tar.lz
dexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.tar.xz
dexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.tar.zst
dexon-sol-tools-1d4d2544965f7f3d28c62a1ab9eeb441e53ddad1.zip
Cleanup about pages
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/components/aboutPageLayout.tsx12
-rw-r--r--packages/website/ts/@next/pages/about/jobs.tsx4
-rw-r--r--packages/website/ts/@next/pages/about/mission.tsx75
-rw-r--r--packages/website/ts/@next/pages/about/press.tsx21
-rw-r--r--packages/website/ts/@next/pages/about/team.tsx8
5 files changed, 74 insertions, 46 deletions
diff --git a/packages/website/ts/@next/components/aboutPageLayout.tsx b/packages/website/ts/@next/components/aboutPageLayout.tsx
index 562f4f810..e8f09c8d9 100644
--- a/packages/website/ts/@next/components/aboutPageLayout.tsx
+++ b/packages/website/ts/@next/components/aboutPageLayout.tsx
@@ -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;
+ }
+`;
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 = () => (
</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>
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 = () => (
<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>
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 }) => (
<>
- <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/>
</>
);
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 = () => (
<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>