diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-20 07:06:39 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-20 07:06:39 +0800 |
commit | 531ed5496158ed318cc8313daa1a200f67b1b6dd (patch) | |
tree | 20d61d7cb32359715e39981a5ca37217c82260d8 /packages | |
parent | 5eb316f5d832d0e7ffc8a3a3858350cc13af3dcf (diff) | |
download | dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.tar dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.tar.gz dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.tar.bz2 dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.tar.lz dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.tar.xz dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.tar.zst dexon-sol-tools-531ed5496158ed318cc8313daa1a200f67b1b6dd.zip |
Fix page titles
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/@next/pages/about/jobs.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/about/mission.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/about/press.tsx | 5 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/about/team.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/ecosystem.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/instant.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/landing.tsx | 12 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/launch_kit.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/why.tsx | 2 |
9 files changed, 25 insertions, 6 deletions
diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index 4dc9d8002..2fd2c7619 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -1,5 +1,6 @@ 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'; @@ -98,6 +99,7 @@ export class NextAboutJobs extends React.Component<NextAboutJobsProps, NextAbout linkLabel="Our mission and values" href={constants.URL_MISSION_AND_VALUES_BLOG_POST} > + <DocumentTitle title="Jobs at 0x" /> <Section bgColor="#F3F6F4" isFlex={true} maxWidth="1170px" wrapWidth="100%"> <Column maxWidth="442px"> <Heading size="medium" marginBottom="30px"> diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index 35aac684b..2e6530edd 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -1,5 +1,6 @@ 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'; @@ -37,6 +38,7 @@ export const NextAboutMission = () => ( 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} /> diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index ef04506cf..030ee4c14 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -1,5 +1,6 @@ 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'; @@ -64,7 +65,9 @@ export const NextAboutPress = () => ( ))} </> } - /> + > + <DocumentTitle title="Press Highlights - 0x" /> + </AboutPageLayout> ); export const Highlight: React.FunctionComponent<HighlightItemProps> = (props: HighlightItemProps) => { diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index 421cacb24..7177964be 100644 --- a/packages/website/ts/@next/pages/about/team.tsx +++ b/packages/website/ts/@next/pages/about/team.tsx @@ -1,5 +1,6 @@ import * as _ from 'lodash'; import * as React from 'react'; +import DocumentTitle from 'react-document-title'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; @@ -183,6 +184,7 @@ export const NextAboutTeam = () => ( linkLabel="Join the team" to={WebsitePaths.AboutJobs} > + <DocumentTitle title="Our Team - 0x" /> <Section maxWidth="1170px" wrapWidth="100%" isFlex={true} flexBreakpoint="900px"> <Column> <Heading size="medium">0x Team</Heading> diff --git a/packages/website/ts/@next/pages/ecosystem.tsx b/packages/website/ts/@next/pages/ecosystem.tsx index 3d3e219a2..f78bd3bdc 100644 --- a/packages/website/ts/@next/pages/ecosystem.tsx +++ b/packages/website/ts/@next/pages/ecosystem.tsx @@ -1,5 +1,6 @@ import * as _ from 'lodash'; import * as React from 'react'; +import DocumentTitle from 'react-document-title'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; @@ -54,6 +55,7 @@ const benefits: BenefitProps[] = [ export const NextEcosystem = () => ( <SiteWrap theme="light"> + <DocumentTitle title="Ecosystem Acceleration Program: Jumpstart your Business on 0x" /> <Section isTextCentered={true}> <Column> <Heading size="medium" isCentered={true}> diff --git a/packages/website/ts/@next/pages/instant.tsx b/packages/website/ts/@next/pages/instant.tsx index 8b3a417a9..d08fd566a 100644 --- a/packages/website/ts/@next/pages/instant.tsx +++ b/packages/website/ts/@next/pages/instant.tsx @@ -1,6 +1,7 @@ import { utils as sharedUtils } from '@0x/react-shared'; import * as _ from 'lodash'; import * as React from 'react'; +import DocumentTitle from 'react-document-title'; import styled, { keyframes } from 'styled-components'; import { Banner } from 'ts/@next/components/banner'; @@ -87,6 +88,7 @@ export class Next0xInstant extends React.Component<Props> { public render(): React.ReactNode { return ( <SiteWrap> + <DocumentTitle title="0x Instant: Quick and secure crypto purchasing" /> <Hero title="Introducing 0x Instant" description="A free and flexible way to offer simple crypto purchasing in any app or website" diff --git a/packages/website/ts/@next/pages/landing.tsx b/packages/website/ts/@next/pages/landing.tsx index ae560e8e3..c9520f261 100644 --- a/packages/website/ts/@next/pages/landing.tsx +++ b/packages/website/ts/@next/pages/landing.tsx @@ -1,10 +1,11 @@ import * as React from 'react'; -import { SiteWrap } from 'ts/@next/components/siteWrap'; +import DocumentTitle from 'react-document-title'; -import { SectionLandingAbout } from 'ts/@next/components/sections/landing/about'; -import { SectionLandingClients } from 'ts/@next/components/sections/landing/clients'; -import { SectionLandingCta } from 'ts/@next/components/sections/landing/cta'; -import { SectionLandingHero } from 'ts/@next/components/sections/landing/hero'; +import {SectionLandingAbout} from 'ts/@next/components/sections/landing/about'; +import {SectionLandingClients} from 'ts/@next/components/sections/landing/clients'; +import {SectionLandingCta} from 'ts/@next/components/sections/landing/cta'; +import {SectionLandingHero} from 'ts/@next/components/sections/landing/hero'; +import {SiteWrap} from 'ts/@next/components/siteWrap'; import { ModalContact } from 'ts/@next/components/modals/modal_contact'; @@ -23,6 +24,7 @@ export class NextLanding extends React.Component<Props> { public render(): React.ReactNode { return ( <SiteWrap theme="dark"> + <DocumentTitle title="0x: The protocol for trading tokens on Ethereum" /> <SectionLandingHero /> <SectionLandingAbout /> <SectionLandingClients /> diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 7ae54293b..605bce91c 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -1,5 +1,6 @@ import * as _ from 'lodash'; import * as React from 'react'; +import DocumentTitle from 'react-document-title'; import { Hero } from 'ts/@next/components/hero'; @@ -35,6 +36,7 @@ export class NextLaunchKit extends React.Component { public render(): React.ReactNode { return ( <SiteWrap theme="dark"> + <DocumentTitle title="0x Launch Kit: Launch a relayer in under a minute" /> <Hero isLargeTitle={false} isFullWidth={false} diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx index 73195f31c..cdf7960c2 100644 --- a/packages/website/ts/@next/pages/why.tsx +++ b/packages/website/ts/@next/pages/why.tsx @@ -1,5 +1,6 @@ import * as _ from 'lodash'; import * as React from 'react'; +import DocumentTitle from 'react-document-title'; import ScrollableAnchor, { configureAnchors } from 'react-scrollable-anchor'; import styled from 'styled-components'; @@ -98,6 +99,7 @@ export class NextWhy extends React.Component { ); return ( <SiteWrap theme="dark"> + <DocumentTitle title="Features & Benefits - 0x" /> <Hero title="The exchange layer for the crypto economy" description="The world's assets are becoming tokenized on public blockchains. 0x Protocol is free, open-source infrastracture that developers and businesses utilize to build products that enable the purchasing and trading of crypto tokens." |