From 03962352df55fc4f6062b0764ea5987ca6dce97e Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Mon, 3 Dec 2018 14:43:43 +0100 Subject: Updated sublinks on about --- packages/website/ts/@next/pages/about/jobs.tsx | 11 ++++++----- packages/website/ts/@next/pages/about/mission.tsx | 15 ++++++++------- packages/website/ts/@next/pages/about/team.tsx | 13 +++++++------ 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index e650408c8..740bd090e 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 React from 'react'; import styled from 'styled-components'; +import { Link as ReactRouterLink } from 'react-router-dom'; import { colors } from 'ts/style/colors'; @@ -18,10 +19,10 @@ export const NextAboutJobs = () => (
- Our Mission - Team - Press - Jobs + Our Mission + Team + Press + Jobs Creating a tokenized world where all value can flow freely. @@ -79,7 +80,7 @@ export const NextAboutJobs = () => ( ); -const ChapterLink = styled.a` +const ChapterLink = styled(ReactRouterLink)` font-size: 1.222222222rem; display: block; opacity: 0.8; diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index b85a4e91e..fd52d1a16 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -1,27 +1,28 @@ import * as React from 'react'; import styled from 'styled-components'; +import { Link as ReactRouterLink } from 'react-router-dom'; import { colors } from 'ts/style/colors'; +import { Image } from 'ts/@next/components/image'; import { Column, Section, Wrap, WrapCentered } from 'ts/@next/components/layout'; import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Heading, Paragraph } from 'ts/@next/components/text'; -import { Image } from 'ts/@next/components/image'; import CoinIcon from 'ts/@next/icons/illustrations/coin.svg'; import ConsistentlyShipIcon from 'ts/@next/icons/illustrations/consistently-ship.svg'; -import RightThingIcon from 'ts/@next/icons/illustrations/right-thing.svg'; import LongTermImpactIcon from 'ts/@next/icons/illustrations/long-term-impact.svg'; +import RightThingIcon from 'ts/@next/icons/illustrations/right-thing.svg'; export const NextAboutMission = () => (
- Our Mission - Team - Press - Jobs + Our Mission + Team + Press + Jobs Creating a tokenized world where all value can flow freely. @@ -79,7 +80,7 @@ export const NextAboutMission = () => ( ); -const ChapterLink = styled.a` +const ChapterLink = styled(ReactRouterLink)` font-size: 1.222222222rem; display: block; opacity: 0.8; diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index 0c6341981..be79c36b9 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 React from 'react'; import styled from 'styled-components'; +import { Link as ReactRouterLink } from 'react-router-dom'; import { colors } from 'ts/style/colors'; @@ -10,8 +11,8 @@ import { Image } from 'ts/@next/components/image'; import CoinIcon from 'ts/@next/icons/illustrations/coin.svg'; import ConsistentlyShipIcon from 'ts/@next/icons/illustrations/consistently-ship.svg'; -import RightThingIcon from 'ts/@next/icons/illustrations/right-thing.svg'; import LongTermImpactIcon from 'ts/@next/icons/illustrations/long-term-impact.svg'; +import RightThingIcon from 'ts/@next/icons/illustrations/right-thing.svg'; interface TeamMember { name: string; @@ -98,10 +99,10 @@ export const NextAboutTeam = () => (
- Our Mission - Team - Press - Jobs + Our Mission + Team + Press + Jobs We are a global, growing team @@ -141,7 +142,7 @@ export const NextAboutTeam = () => ( ); -const ChapterLink = styled.a` +const ChapterLink = styled(ReactRouterLink)` font-size: 1.222222222rem; display: block; opacity: 0.8; -- cgit v1.2.3