From e0116da559ef52284fc990c81a8cff662c700c70 Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:09:51 -0800 Subject: feat: link to mission and values --- packages/website/ts/@next/pages/about/mission.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index 78602f8ad..3b2b8895b 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -7,21 +7,25 @@ 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.', + 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.', + 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.', + 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', }, ]; @@ -31,15 +35,11 @@ export const NextAboutMission = () => ( 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" - linkUrl="#" + linkUrl={constants.URL_MISSION_AND_VALUES_BLOG_POST} >
- 0x Offices + 0x Offices
-- cgit v1.2.3 From 3cf9cf98dce9936c3ccca4589ea7c14b997ce50d Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:19:43 -0800 Subject: fix: mission and values link to new tab and not append --- .../ts/@next/components/aboutPageLayout.tsx | 55 ++++++++++++---------- packages/website/ts/@next/pages/about/mission.tsx | 2 +- 2 files changed, 30 insertions(+), 27 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/components/aboutPageLayout.tsx b/packages/website/ts/@next/components/aboutPageLayout.tsx index 7d98804bb..86a94ae2b 100644 --- a/packages/website/ts/@next/components/aboutPageLayout.tsx +++ b/packages/website/ts/@next/components/aboutPageLayout.tsx @@ -1,3 +1,4 @@ +import * as _ from 'lodash'; import * as React from 'react'; import styled from 'styled-components'; @@ -14,7 +15,8 @@ interface Props { title: string; description: React.ReactNode | string; linkLabel?: string; - linkUrl?: string; + href?: string; + to?: string; children?: React.ReactNode; } @@ -22,31 +24,32 @@ export const AboutPageLayout = (props: Props) => (
- Mission - Team - Press - Jobs - + Mission + Team + Press + Jobs + - - - - {props.title} - + + + {props.title} - - {props.description} - + + {props.description} + - {(props.linkLabel && props.linkUrl) && - - {props.linkLabel} - - } + {props.linkLabel && + (props.href || props.to) && ( + + {props.linkLabel} + + )}
@@ -56,13 +59,13 @@ export const AboutPageLayout = (props: Props) => ( ); const AnimatedHeading = styled(Heading)` - ${addFadeInAnimation('0.5s')} + ${addFadeInAnimation('0.5s')}; `; const AnimatedParagraph = styled(Paragraph)` - ${addFadeInAnimation('0.5s', '0.15s')} + ${addFadeInAnimation('0.5s', '0.15s')}; `; const AnimatedLink = styled(Button)` - ${addFadeInAnimation('0.6s', '0.3s')} + ${addFadeInAnimation('0.6s', '0.3s')}; `; diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index 3b2b8895b..35aac684b 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -35,7 +35,7 @@ export const NextAboutMission = () => ( 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" - linkUrl={constants.URL_MISSION_AND_VALUES_BLOG_POST} + href={constants.URL_MISSION_AND_VALUES_BLOG_POST} >
-- cgit v1.2.3 From 53529439c57e78806678af2c060ade4b53c0869b Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:20:49 -0800 Subject: feat: update job titles --- packages/website/ts/@next/pages/about/team.tsx | 46 +++++++++----------------- 1 file changed, 16 insertions(+), 30 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index bf8d02095..2c7146e1c 100644 --- a/packages/website/ts/@next/pages/about/team.tsx +++ b/packages/website/ts/@next/pages/about/team.tsx @@ -64,7 +64,7 @@ const team: TeamMember[] = [ { imageUrl: '/images/@next/team/blake.jpg', name: 'Blake Henderson', - title: 'operations associate', + title: 'ecosystem programs lead', }, { imageUrl: '/images/@next/team/zack.jpg', @@ -89,7 +89,7 @@ const team: TeamMember[] = [ { imageUrl: '/images/@next/team/melo.jpg', name: 'Mel Oberto', - title: 'office ops / executive assistant', + title: 'people operations associate', }, { imageUrl: '/images/@next/team/alexb.jpg', @@ -183,20 +183,12 @@ export const NextAboutTeam = () => ( linkLabel="Join the team" linkUrl={WebsitePaths.AboutJobs} > -
+
0x Team - + {_.map(team, (info: TeamMember, index: number) => ( @@ -205,21 +197,12 @@ export const NextAboutTeam = () => (
-
+
Advisors - + {_.map(advisors, (info: TeamMember, index: number) => ( @@ -239,9 +222,11 @@ const StyledGrid = styled.div` const Member = ({ name, title, imageUrl }: TeamMember) => ( - {name}/ + {name} {name} - {title} + + {title} + ); @@ -252,12 +237,13 @@ const StyledMember = styled.div` margin-right: 15px; @media (max-width: 600px) { - &:nth-child(2n+1) { + &:nth-child(2n + 1) { clear: left; } } - img, svg { + img, + svg { width: 100%; height: auto; object-fit: contain; @@ -268,7 +254,7 @@ const StyledMember = styled.div` width: calc(33.3333% - 30px); margin-right: 20px; - &:nth-child(3n+1) { + &:nth-child(3n + 1) { clear: left; } } @@ -276,11 +262,11 @@ const StyledMember = styled.div` @media (min-width: 900px) { width: calc(25% - 30px); - &:nth-child(3n+1) { + &:nth-child(3n + 1) { clear: none; } - &:nth-child(4n+1) { + &:nth-child(4n + 1) { clear: left; } } -- cgit v1.2.3 From 2107285a00b500e79677de219e27f88a1e3c7bd4 Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:22:50 -0800 Subject: fix: use new AboutPageLayout API everywhere --- packages/website/ts/@next/pages/about/jobs.tsx | 2 +- packages/website/ts/@next/pages/about/team.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index 1e9d54609..e6ad1d797 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -95,7 +95,7 @@ export class NextAboutJobs extends React.Component } linkLabel="Our mission and values" - linkUrl="/about/mission" + to="/about/mission" >
diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index 2c7146e1c..421cacb24 100644 --- a/packages/website/ts/@next/pages/about/team.tsx +++ b/packages/website/ts/@next/pages/about/team.tsx @@ -181,7 +181,7 @@ export const NextAboutTeam = () => ( title="We are a global, growing team" description="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." linkLabel="Join the team" - linkUrl={WebsitePaths.AboutJobs} + to={WebsitePaths.AboutJobs} >
-- cgit v1.2.3 From 4ac1db124783a0193d13b1519c17fef0f8c95c7a Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:25:22 -0800 Subject: feat: add press mailto link --- packages/website/ts/@next/pages/about/press.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index 7d8dfccab..fb9d445ba 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -22,7 +22,8 @@ const highlights: HighlightProps[] = [ { logo: '/images/@next/press/logo-forbes.png', title: 'Forbes', - text: '0x Instant is aiming to aid businesses and developers such as news sites, crypto wallets, dApps or price trackers to monetize or add a new revenue stream to their existing pipeline.', + text: + '0x Instant is aiming to aid businesses and developers such as news sites, crypto wallets, dApps or price trackers to monetize or add a new revenue stream to their existing pipeline.', href: '#', }, { @@ -34,13 +35,15 @@ const highlights: HighlightProps[] = [ { logo: '/images/@next/press/logo-fortune.png', title: 'Fortune', - text: 'In the future, many traditional investments like real estate and corporate shares will come in the form of digital tokens that are bought and transferred on a blockchain.', + text: + 'In the future, many traditional investments like real estate and corporate shares will come in the form of digital tokens that are bought and transferred on a blockchain.', href: '#', }, { logo: '/images/@next/press/logo-techcrunch.png', title: 'TechCrunch', - text: '0x allows any developer to quickly build their own decentralized cryptocurrency exchange and decide their own fees.', + text: + '0x allows any developer to quickly build their own decentralized cryptocurrency exchange and decide their own fees.', href: '#', }, ]; @@ -51,7 +54,8 @@ export const NextAboutPress = () => ( description={ <> - Want to write about 0x? Get in touch, or download our press kit. + Want to write about 0x? Get in touch, or{' '} + download our press kit. {_.map(highlights, (highlight, index) => ( @@ -72,7 +76,9 @@ export const Highlight: React.FunctionComponent = (props: Hi {highlight.text} - + ); -- cgit v1.2.3 From b255edc5771807ab3f169337e20693bbcccdf6f7 Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:26:07 -0800 Subject: feat: remove download our presskit copy --- packages/website/ts/@next/pages/about/press.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index fb9d445ba..50a99613a 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -54,8 +54,7 @@ export const NextAboutPress = () => ( description={ <> - Want to write about 0x? Get in touch, or{' '} - download our press kit. + Want to write about 0x? Get in touch. {_.map(highlights, (highlight, index) => ( -- cgit v1.2.3 From 0dcada8e06306f7c90ba6d494440ca7702c3467a Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:28:18 -0800 Subject: feat: add links to press page --- packages/website/ts/@next/pages/about/press.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index 50a99613a..ef04506cf 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -24,27 +24,29 @@ const highlights: HighlightProps[] = [ title: 'Forbes', text: '0x Instant is aiming to aid businesses and developers such as news sites, crypto wallets, dApps or price trackers to monetize or add a new revenue stream to their existing pipeline.', - href: '#', + href: + 'https://www.forbes.com/sites/rebeccacampbell1/2018/12/06/0x-launches-instant-delivers-an-easy-and-flexible-way-to-buy-crypto-tokens/#bfb73a843561', }, { logo: '/images/@next/press/logo-venturebeat.png', title: 'VentureBeat', text: '0x leads the way for ‘tokenization’ of the world, and collectible game items are next', - href: '#', + href: + 'https://venturebeat.com/2018/09/24/0x-leads-the-way-for-tokenization-of-the-world-and-collectible-game-items-are-next/', }, { logo: '/images/@next/press/logo-fortune.png', title: 'Fortune', text: 'In the future, many traditional investments like real estate and corporate shares will come in the form of digital tokens that are bought and transferred on a blockchain.', - href: '#', + href: 'http://fortune.com/2018/09/06/0x-harbor-blockchain/', }, { logo: '/images/@next/press/logo-techcrunch.png', title: 'TechCrunch', text: '0x allows any developer to quickly build their own decentralized cryptocurrency exchange and decide their own fees.', - href: '#', + href: 'https://techcrunch.com/2018/07/16/0x/', }, ]; @@ -75,7 +77,7 @@ export const Highlight: React.FunctionComponent = (props: Hi {highlight.text} - -- cgit v1.2.3 From 7468be8f176e784fa1102dc128ac930a50d0710b Mon Sep 17 00:00:00 2001 From: fragosti Date: Mon, 17 Dec 2018 16:32:58 -0800 Subject: feat: redirect careers to jobs --- packages/website/ts/@next/pages/about/jobs.tsx | 3 ++- packages/website/ts/index.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index e6ad1d797..4dc9d8002 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -7,6 +7,7 @@ import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; import { Heading, Paragraph } from 'ts/@next/components/text'; import { WebsiteBackendJobInfo } from 'ts/types'; import { backendClient } from 'ts/utils/backend_client'; +import { constants } from 'ts/utils/constants'; const OPEN_POSITIONS_HASH = 'positions'; @@ -95,7 +96,7 @@ export class NextAboutJobs extends React.Component } linkLabel="Our mission and values" - to="/about/mission" + href={constants.URL_MISSION_AND_VALUES_BLOG_POST} >
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 915d28aaa..f7a66c836 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -192,6 +192,7 @@ render( component={LazySolCompilerDocumentation} /> + -- cgit v1.2.3