aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/pages/about/mission.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-21 08:01:53 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-21 08:01:53 +0800
commitabdf91c691b924b75d71db49fba296da9c8ddcac (patch)
tree78e62a107f1de7f3b16dd63bdbc039ab26b561a3 /packages/website/ts/@next/pages/about/mission.tsx
parent9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3 (diff)
downloaddexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.tar
dexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.tar.gz
dexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.tar.bz2
dexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.tar.lz
dexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.tar.xz
dexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.tar.zst
dexon-sol-tools-abdf91c691b924b75d71db49fba296da9c8ddcac.zip
feat: move all @next files to non @next directory
Diffstat (limited to 'packages/website/ts/@next/pages/about/mission.tsx')
-rw-r--r--packages/website/ts/@next/pages/about/mission.tsx97
1 files changed, 0 insertions, 97 deletions
diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx
deleted file mode 100644
index 2e6530edd..000000000
--- a/packages/website/ts/@next/pages/about/mission.tsx
+++ /dev/null
@@ -1,97 +0,0 @@
-import * as _ from 'lodash';
-import * as React from 'react';
-import DocumentTitle from 'react-document-title';
-import styled from 'styled-components';
-
-import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout';
-import { Definition } from 'ts/@next/components/definition';
-import { Image } from 'ts/@next/components/image';
-import { Column, Section } from 'ts/@next/components/newLayout';
-import { Heading } from 'ts/@next/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/@next/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;
- }
-`;