aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/about/mission.tsx
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2019-01-02 22:13:14 +0800
committerGitHub <noreply@github.com>2019-01-02 22:13:14 +0800
commit1ddf1087dd327b2ef35165518ee91eb457b84174 (patch)
tree619d5b8afd97945eb7917cb71b74ed1c721a77d3 /packages/website/ts/pages/about/mission.tsx
parentdbbd0c5c9233965713a3ee30a1a0c5eb06448212 (diff)
parentdc6d6024dc7e72d2634c6bbd88886af6cc0ef6fc (diff)
downloaddexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.tar
dexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.tar.gz
dexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.tar.bz2
dexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.tar.lz
dexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.tar.xz
dexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.tar.zst
dexon-sol-tools-1ddf1087dd327b2ef35165518ee91eb457b84174.zip
Merge pull request #1470 from 0xProject/feature/website/0x-org-cleanup
[website] Remove @next dir, remove unused files.
Diffstat (limited to 'packages/website/ts/pages/about/mission.tsx')
-rw-r--r--packages/website/ts/pages/about/mission.tsx97
1 files changed, 97 insertions, 0 deletions
diff --git a/packages/website/ts/pages/about/mission.tsx b/packages/website/ts/pages/about/mission.tsx
new file mode 100644
index 000000000..ab8949fae
--- /dev/null
+++ b/packages/website/ts/pages/about/mission.tsx
@@ -0,0 +1,97 @@
+import * as _ from 'lodash';
+import * as React from 'react';
+import DocumentTitle from 'react-document-title';
+import styled from 'styled-components';
+
+import { AboutPageLayout } from 'ts/components/aboutPageLayout';
+import { Definition } from 'ts/components/definition';
+import { Image } from 'ts/components/image';
+import { Column, Section } from 'ts/components/newLayout';
+import { Heading } from 'ts/components/text';
+import { constants } from 'ts/utils/constants';
+
+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."
+ description="0x is important infrastructure 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."
+ linkLabel="Our mission and values"
+ href={constants.URL_MISSION_AND_VALUES_BLOG_POST}
+ >
+ <DocumentTitle title="Our Mission - 0x" />
+ <Section isFullWidth={true} isPadded={false}>
+ <FullWidthImage>
+ <Image src="/images/about/about-office.png" alt="0x Offices" isCentered={true} />
+ </FullWidthImage>
+ </Section>
+
+ <Section isFlex={true} maxWidth="1170px" wrapWidth="100%">
+ <Column>
+ <Heading size="medium" maxWidth="226px">
+ Core Values
+ </Heading>
+ </Column>
+
+ <Column width="70%" maxWidth="826px">
+ <Column width="100%" maxWidth="800px">
+ {_.map(values, (item, index) => (
+ <StyledDefinition
+ icon={item.icon}
+ title={item.title}
+ description={item.description}
+ isInlineIcon={true}
+ iconSize="large"
+ />
+ ))}
+ </Column>
+ </Column>
+ </Section>
+ </AboutPageLayout>
+);
+
+const StyledDefinition = styled(Definition)`
+ & + & {
+ margin-top: 30px;
+ padding-top: 30px;
+ border-top: 1px solid #eaeaea;
+ }
+`;
+
+const FullWidthImage = styled.figure`
+ width: 100vw;
+ margin-left: calc(50% - 50vw);
+
+ img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+
+ @media (min-width: 768px) {
+ height: 500px;
+ }
+
+ @media (max-width: 768px) {
+ height: 400px;
+ }
+`;