From 528d882ec4103441b8eacb4d1fdcf1613830a960 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Tue, 11 Dec 2018 14:54:05 +0100 Subject: Creates about page wrapper component, clean up --- .../ts/@next/components/aboutPageLayout.tsx | 53 +++++++ packages/website/ts/@next/pages/about/jobs.tsx | 160 +++++++++------------ packages/website/ts/@next/pages/about/mission.tsx | 111 ++++++-------- packages/website/ts/@next/pages/about/press.tsx | 51 +++---- packages/website/ts/@next/pages/about/team.tsx | 93 +++++------- 5 files changed, 231 insertions(+), 237 deletions(-) create mode 100644 packages/website/ts/@next/components/aboutPageLayout.tsx diff --git a/packages/website/ts/@next/components/aboutPageLayout.tsx b/packages/website/ts/@next/components/aboutPageLayout.tsx new file mode 100644 index 000000000..562f4f810 --- /dev/null +++ b/packages/website/ts/@next/components/aboutPageLayout.tsx @@ -0,0 +1,53 @@ +import * as React from 'react'; +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 { SiteWrap } from 'ts/@next/components/siteWrap'; +import { Heading, Paragraph } from 'ts/@next/components/text'; + +interface Props { + title: string; + description: React.Node; + linkLabel?: string; + linkUrl?: string; +} + +export const AboutPageLayout = (props: Props) => ( + +
+ + + Our Mission + Team + Press + Jobs + + + + + + {props.title} + + + {props.description} + + + {(props.linkLabel && props.linkUrl) && + + {props.linkLabel} + + } + + + +
+ + {props.children} +
+); + +const IntroWrap = styled.div` + max-width: 680px; +`; diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index 0146995a5..26a6f70f2 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -1,12 +1,11 @@ -import * as React from 'react'; import * as _ from 'lodash/core'; +import * as React from 'react'; import styled from 'styled-components'; -import { ChapterLink } from 'ts/@next/components/chapter_link'; +import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Column, Section, Wrap } from 'ts/@next/components/layout'; import { Link } from 'ts/@next/components/link'; import { Separator } from 'ts/@next/components/separator'; -import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; interface PositionInterface { @@ -38,6 +37,75 @@ const positions: PositionInterface[] = [ }, ]; +export const NextAboutJobs = () => ( + +
+ + + + Powered by a Diverse Worldwide Community + + + + + + + We're a highly technical team with varied backgrounds in engineering, science, business, finance, and research. While the core team is headquartered in San Francisco, there are 30+ teams building on 0x and hundreds of thousands of participants behind our efforts globally. We're passionate about open-source software and decentralized technology's potential to act as an equalizing force in the world. + + + + + Map of community + + +
+ +
+ + + Benefits + + + + + + +
  • Comprehensive Insurance
  • +
  • Unlimited Vacation
  • +
  • Meals and snacks provided daily
  • +
  • Flexible hours and liberal work-from-home-policy
  • +
  • Supportive of remote working
  • +
  • Transportation, phone, and wellness expense
  • +
  • Relocation assistance
  • +
  • Optional team excursions
  • +
  • Competitive salary
  • +
  • Cryptocurrency based compensation
  • +
    +
    +
    +
    +
    +
    + +
    + + + Current
    Openings
    +
    + + + {_.map(positions, (position, index) => )} + +
    +
    +
    +); + const Position = ({ position }) => ( <> @@ -55,92 +123,6 @@ const Position = ({ position }) => ( ); -export const NextAboutJobs = () => ( - -
    - - - Our Mission - Team - Press - Jobs - - -
    - - Join Us in Our Mission - - - To create a tokenized world where all value can flow freely. We are powering a growing ecosystem of decentralized applications and solving novel challenges to make our technology intuitive, flexible, and accessible to all. Read more about our mission, and join us in building financial infrastructure upon which the exchange of anything of value will take place. - - Our misson and values -
    -
    -
    -
    - -
    - - - - Powered by a Diverse Worldwide Community - - - - - - - We're a highly technical team with varied backgrounds in engineering, science, business, finance, and research. While the core team is headquartered in San Francisco, there are 30+ teams building on 0x and hundreds of thousands of participants behind our efforts globally. We're passionate about open-source software and decentralized technology's potential to act as an equalizing force in the world. - - - - - Map of community - - -
    - -
    - - - Benefits - - - - - - -
  • Comprehensive Insurance
  • -
  • Unlimited Vacation
  • -
  • Meals and snacks provided daily
  • -
  • Flexible hours and liberal work-from-home-policy
  • -
  • Supportive of remote working
  • -
  • Transportation, phone, and wellness expense
  • -
  • Relocation assistance
  • -
  • Optional team excursions
  • -
  • Competitive salary
  • -
  • Cryptocurrency based compensation
  • -
    -
    -
    -
    -
    -
    - -
    - - - Current
    Openings
    -
    - - - {_.map(positions, (position, index) => )} - -
    -
    -
    -); - const BenefitsList = styled.ul` color: #000; list-style: disc; diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index aee49351a..1b5e18b10 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -1,80 +1,61 @@ import * as React from 'react'; -import { Link as ReactRouterLink } from 'react-router-dom'; -import styled from 'styled-components'; -import { Link } from 'ts/@next/components/button'; -import { ChapterLink } from 'ts/@next/components/chapter_link'; +import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Icon } from 'ts/@next/components/icon'; import { Image } from 'ts/@next/components/image'; import { Column, Section, Wrap } from 'ts/@next/components/layout'; import { Separator } from 'ts/@next/components/separator'; -import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; export const NextAboutMission = () => ( - -
    - - - Our Mission - Team - Press - Jobs - - -
    - Creating a tokenized world where all value can flow freely. - 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. - Our missions and values -
    -
    -
    -
    - -
    - - - -
    - -
    - - - Core
    Values
    -
    - - - - - - - - Do The Right Thing - 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. - + +
    + + - - - - - - - Consistently Ship - 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. - - - +
    + +
    - - + + Core Values - - Focus on long-term Impact - 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. + + + + + + + + Do The Right Thing + 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. + + + + + + + + + Consistently Ship + 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. + + + + + + + + + Focus on long-term Impact + 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. + + - - -
    - +
    + ); diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index e03505635..ea2485a33 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -1,12 +1,11 @@ -import * as React from 'react'; import * as _ from 'lodash'; +import * as React from 'react'; import styled from 'styled-components'; -import { ChapterLink } from 'ts/@next/components/chapter_link'; +import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; +import { Link } from 'ts/@next/components/button'; import { Column, Section, Wrap } from 'ts/@next/components/layout'; -import { Link } from 'ts/@next/components/link'; import { Separator } from 'ts/@next/components/separator'; -import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; interface HighlightInterface { @@ -37,6 +36,25 @@ const highlights: HighlightInterface[] = [ }, ]; +export const NextAboutPress = () => ( + + + Want to write about 0x? Get in touch, or download our press kit. + + + + + {_.map(highlights, (highlight, index) => ( + + ))} + + } + /> +); + const Highlight = ({ highlight }) => ( <> @@ -45,32 +63,9 @@ const Highlight = ({ highlight }) => ( {highlight.text} - Read Article + Read Article ); - -export const NextAboutPress = () => ( - -
    - - - Our Mission - Team - Press - Jobs - - - Press Highlights - Want to write about 0x? Get in touch, or download our press kit. - - - - {_.map(highlights, (highlight, index) => )} - - -
    -
    -); diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index 20b5a49eb..8d7ab4b0e 100644 --- a/packages/website/ts/@next/pages/about/team.tsx +++ b/packages/website/ts/@next/pages/about/team.tsx @@ -1,14 +1,11 @@ import * as _ from 'lodash/core'; import * as React from 'react'; -import { Link as ReactRouterLink } from 'react-router-dom'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; -import { Link } from 'ts/@next/components/button'; -import { ChapterLink } from 'ts/@next/components/chapter_link'; +import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Column, Section, Wrap } from 'ts/@next/components/layout'; -import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; interface TeamMember { @@ -143,63 +140,49 @@ const advisors: TeamMember[] = [ }, ]; -const Member = ({ name, title, imageUrl }: TeamMember) => ( - - - {name} - {title} - -); - export const NextAboutTeam = () => ( - -
    - - - Our Mission - Team - Press - Jobs - + +
    + + + 0x Team + - -
    - We are a global, growing team - We are a distributed team with backgrounds in engineering, academic research, business, and design. The 0x Core Team is passionate about accelerating the adoption decentralized technology and believe in its potential to be an equalizing force in the world. Join us and do the most impactful work of your life. - Join the team -
    -
    -
    -
    + + + {_.map(team, (info: TeamMember, index) => )} + + +
    +
    -
    - - - 0x Team - +
    + + + Advisors + - - - {_.map(team, (info, index) => )} + + + {_.map(advisors, (info: TeamMember, index) => )} + + - - -
    - -
    - - - Advisors - +
    + +); - - - {_.map(advisors, (info, index) => )} - - -
    -
    -
    +const Member = ({ name, title, imageUrl }: TeamMember) => ( + + + {name} + {title} + ); const StyledMember = styled.div` -- cgit v1.2.3