diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-10 22:19:52 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-10 22:20:09 +0800 |
commit | cc1b71651dec21205f44f27ac59840edb3e616ad (patch) | |
tree | 4015ff489b2e2e30be50a6bf1205e83360916f91 /packages/website/ts/@next/pages/about/press.tsx | |
parent | 5e1892f3834133ea87bf284ad1c491eb5a65901f (diff) | |
download | dexon-0x-contracts-cc1b71651dec21205f44f27ac59840edb3e616ad.tar.gz dexon-0x-contracts-cc1b71651dec21205f44f27ac59840edb3e616ad.tar.zst dexon-0x-contracts-cc1b71651dec21205f44f27ac59840edb3e616ad.zip |
Add active styling to chapter link
Diffstat (limited to 'packages/website/ts/@next/pages/about/press.tsx')
-rw-r--r-- | packages/website/ts/@next/pages/about/press.tsx | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index 3a500ff39..db2a631e7 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -2,6 +2,7 @@ import * as React from 'react'; import { Link as ReactRouterLink } from 'react-router-dom'; import styled from 'styled-components'; +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'; @@ -64,18 +65,3 @@ export const NextAboutPress = () => ( </Section> </SiteWrap> ); - -const ChapterLink = styled(ReactRouterLink)` - font-size: 1.222222222rem; - display: block; - opacity: 0.8; - margin-bottom: 1.666666667rem; - - &:first-child { - opacity: 1; - } - - &:hover { - opacity: 1; - } -`; |