aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-30 23:03:49 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 23:04:13 +0800
commit3a13286585eb1399247b808c6d45849db9d94a2d (patch)
tree728faf877fa620796f96004a386d2b1504150985 /packages/website/ts
parentc98c8b1deddbe7ebb4acf8daa2c95e301bfa01fd (diff)
downloaddexon-sol-tools-3a13286585eb1399247b808c6d45849db9d94a2d.tar.gz
dexon-sol-tools-3a13286585eb1399247b808c6d45849db9d94a2d.tar.zst
dexon-sol-tools-3a13286585eb1399247b808c6d45849db9d94a2d.zip
Added about / mission
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/components/header.tsx2
-rw-r--r--packages/website/ts/@next/components/image.tsx21
-rw-r--r--packages/website/ts/@next/icons/illustrations/consistently-ship.svg1
-rw-r--r--packages/website/ts/@next/icons/illustrations/long-term-impact.svg1
-rw-r--r--packages/website/ts/@next/icons/illustrations/right-thing.svg1
-rw-r--r--packages/website/ts/@next/pages/about/mission.tsx93
-rw-r--r--packages/website/ts/index.tsx2
7 files changed, 120 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
index 357056c04..0f47588bd 100644
--- a/packages/website/ts/@next/components/header.tsx
+++ b/packages/website/ts/@next/components/header.tsx
@@ -19,7 +19,7 @@ const links = [
{ url: '/next/why', text: 'Why 0x' },
{ url: '/next/0x-instant', text: 'Products' },
{ url: '#', text: 'Developers' },
- { url: '#', text: 'About' },
+ { url: '/next/about/mission', text: 'About' },
{ url: '#', text: 'Blog' },
];
diff --git a/packages/website/ts/@next/components/image.tsx b/packages/website/ts/@next/components/image.tsx
new file mode 100644
index 000000000..f49c8c059
--- /dev/null
+++ b/packages/website/ts/@next/components/image.tsx
@@ -0,0 +1,21 @@
+import * as React from 'react';
+import styled from 'styled-components';
+
+interface Props {
+ alt?: string;
+ src: any;
+ srcset: any;
+ center: any;
+}
+
+const ImageClass: React.FunctionComponent<Props> = (props: Props) => {
+ const { src, srcset, alt } = props;
+
+ return (
+ <img src={src} {...props} />
+ );
+};
+
+export const Image = styled(ImageClass)`
+ margin: ${(props: Props) => props.center && `0 auto`};
+`;
diff --git a/packages/website/ts/@next/icons/illustrations/consistently-ship.svg b/packages/website/ts/@next/icons/illustrations/consistently-ship.svg
new file mode 100644
index 000000000..086961a4a
--- /dev/null
+++ b/packages/website/ts/@next/icons/illustrations/consistently-ship.svg
@@ -0,0 +1 @@
+<svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M52 102c27.614 0 50-22.386 50-50S79.614 2 52 2 2 24.386 2 52s22.386 50 50 50z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10" stroke-linejoin="round"/><path d="M69.993 52l-32.01-18.478v36.956L69.993 52zM102 52L69.993 33.522v36.956L102 52zM37.983 52L5.976 33.522v36.956L37.983 52z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10" stroke-linejoin="round"/></svg> \ No newline at end of file
diff --git a/packages/website/ts/@next/icons/illustrations/long-term-impact.svg b/packages/website/ts/@next/icons/illustrations/long-term-impact.svg
new file mode 100644
index 000000000..da6385fe0
--- /dev/null
+++ b/packages/website/ts/@next/icons/illustrations/long-term-impact.svg
@@ -0,0 +1 @@
+<svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M52 102c27.614 0 50-22.386 50-50S79.614 2 52 2 2 24.386 2 52s22.386 50 50 50z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10"/><path d="M52 102c16.513 0 29.9-22.386 29.9-50S68.512 2 52 2C35.486 2 22.1 24.386 22.1 52s13.386 50 29.9 50zM52 2v100M102 52H2M95.445 76.983H8.555M95.445 26.983H8.555" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10"/></svg> \ No newline at end of file
diff --git a/packages/website/ts/@next/icons/illustrations/right-thing.svg b/packages/website/ts/@next/icons/illustrations/right-thing.svg
new file mode 100644
index 000000000..4e360c0b4
--- /dev/null
+++ b/packages/website/ts/@next/icons/illustrations/right-thing.svg
@@ -0,0 +1 @@
+<svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M52 102c27.614 0 50-22.386 50-50S79.614 2 52 2 2 24.386 2 52s22.386 50 50 50z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10"/><path d="M92.061 24.613c-10.138-10.137-26.574-10.137-36.711 0l-3.67 3.673-3.672-3.673c-10.138-10.137-26.574-10.137-36.711 0-10.138 10.138-10.138 26.574 0 36.712l3.672 3.672 36.711 36.709 36.712-36.712 3.672-3.672c10.135-10.135 10.135-26.57-.003-36.709z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10"/><path d="M81.293 45.17c-7.435-7.434-19.489-7.434-26.92 0l-2.693 2.694-2.694-2.694c-7.434-7.434-19.488-7.434-26.922 0-7.435 7.435-7.435 19.488 0 26.923l2.693 2.693 26.92 26.923 26.922-26.923 2.694-2.693c7.434-7.435 7.434-19.488 0-26.923z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10"/><path d="M70.525 65.73c-4.732-4.731-12.403-4.731-17.13 0l-1.715 1.715-1.715-1.715c-4.731-4.731-12.403-4.731-17.13 0-4.732 4.731-4.732 12.402 0 17.13l1.714 1.715 17.13 17.131 17.131-17.13 1.715-1.715c4.731-4.732 4.731-12.4 0-17.131z" stroke="#00AE99" stroke-width="3" stroke-miterlimit="10"/></svg> \ No newline at end of file
diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx
new file mode 100644
index 000000000..8870a1afa
--- /dev/null
+++ b/packages/website/ts/@next/pages/about/mission.tsx
@@ -0,0 +1,93 @@
+import * as React from 'react';
+import styled from 'styled-components';
+
+import { colors } from 'ts/style/colors';
+
+import { Column, Section, Wrap, WrapCentered } from 'ts/@next/components/layout';
+import { SiteWrap } from 'ts/@next/components/siteWrap';
+import { Heading, Paragraph } from 'ts/@next/components/text';
+import { Image } from 'ts/@next/components/image';
+
+import CoinIcon from 'ts/@next/icons/illustrations/coin.svg';
+import ConsistentlyShipIcon from 'ts/@next/icons/illustrations/consistently-ship.svg';
+import RightThingIcon from 'ts/@next/icons/illustrations/right-thing.svg';
+import LongTermImpactIcon from 'ts/@next/icons/illustrations/long-term-impact.svg';
+
+export const NextAboutMission = () => (
+ <SiteWrap>
+ <Section>
+ <Wrap>
+ <Column colWidth="1/3">
+ <ChapterLink href="#">Our Mission</ChapterLink>
+ <ChapterLink href="#">Team</ChapterLink>
+ <ChapterLink href="#">Press</ChapterLink>
+ <ChapterLink href="#">Jobs</ChapterLink>
+ </Column>
+ <Column colWidth="2/3">
+ <Heading size="medium">Creating a tokenized world where all value can flow freely.</Heading>
+ <Paragraph size="medium">0x Protocol is an important infrastructure layer for the emerging crypto economy and enables markets to be created that couldn't have existed before. As more assets become tokenized, public blockchains provide the opportunity to establish a new financial stack that is more efficient, transparent, and equitable than any system in the past.</Paragraph>
+ <Paragraph>Our missions and values (arrow)</Paragraph>
+ </Column>
+ </Wrap>
+ </Section>
+
+ <Section fullWidth noPadding>
+ <Wrap width="full">
+ <Image src="/images/@next/about/about-mission@2x.jpg" height="320" alt="" center />
+ </Wrap>
+ </Section>
+
+ <Section>
+ <Wrap>
+ <Column colWidth="1/3">
+ <Heading size="medium">Core<br/>Values</Heading>
+ </Column>
+
+ <Column colWidth="2/3">
+ <Wrap>
+ <Column colWidth="1/3">
+ <RightThingIcon width="100" />
+ </Column>
+ <Column colWidth="2/3">
+ <Heading size="medium">Do The Right Thing</Heading>
+ <Paragraph muted>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>
+ <Wrap>
+ <Column colWidth="1/3">
+ <ConsistentlyShipIcon width="100" />
+ </Column>
+ <Column colWidth="2/3">
+ <Heading size="medium">Consistently Ship</Heading>
+ <Paragraph muted>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>
+ <Wrap>
+ <Column colWidth="1/3">
+ <LongTermImpactIcon width="100" />
+ </Column>
+ <Column colWidth="2/3">
+ <Heading size="medium">Focus on long-term Impact</Heading>
+ <Paragraph muted>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>
+ </Column>
+ </Wrap>
+ </Section>
+ </SiteWrap>
+);
+
+const ChapterLink = styled.a`
+ font-size: 1.222222222rem;
+ display: block;
+ opacity: 0.8;
+ margin-bottom: 1.666666667rem;
+
+ &:first-child {
+ opacity: 1;
+ }
+
+ &:hover {
+ opacity: 1;
+ }
+`;
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 82e7e1206..cb368e381 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -23,6 +23,7 @@ import { muiTheme } from 'ts/utils/mui_theme';
import { Next0xInstant } from 'ts/@next/pages/instant';
import { NextLanding } from 'ts/@next/pages/landing';
import { NextWhy } from 'ts/@next/pages/why';
+import { NextAboutMission } from 'ts/@next/pages/about/mission';
// Check if we've introduced an update that requires us to clear the tradeHistory local storage entries
tradeHistoryStorage.clearIfRequired();
@@ -112,6 +113,7 @@ render(
<Route exact path="/next" component={NextLanding as any} />
<Route exact path="/next/why" component={NextWhy as any} />
<Route exact path="/next/0x-instant" component={Next0xInstant as any} />
+ <Route exact path="/next/about/mission" component={NextAboutMission as any} />
<Route
path={`${WebsitePaths.ZeroExJs}/:version?`}