aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/pages/about/team.tsx
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-10 22:19:52 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-10 22:20:09 +0800
commitcc1b71651dec21205f44f27ac59840edb3e616ad (patch)
tree4015ff489b2e2e30be50a6bf1205e83360916f91 /packages/website/ts/@next/pages/about/team.tsx
parent5e1892f3834133ea87bf284ad1c491eb5a65901f (diff)
downloaddexon-sol-tools-cc1b71651dec21205f44f27ac59840edb3e616ad.tar.gz
dexon-sol-tools-cc1b71651dec21205f44f27ac59840edb3e616ad.tar.zst
dexon-sol-tools-cc1b71651dec21205f44f27ac59840edb3e616ad.zip
Add active styling to chapter link
Diffstat (limited to 'packages/website/ts/@next/pages/about/team.tsx')
-rw-r--r--packages/website/ts/@next/pages/about/team.tsx16
1 files changed, 1 insertions, 15 deletions
diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx
index 1c7ff319b..74659237e 100644
--- a/packages/website/ts/@next/pages/about/team.tsx
+++ b/packages/website/ts/@next/pages/about/team.tsx
@@ -4,6 +4,7 @@ import styled from 'styled-components';
import { colors } from 'ts/style/colors';
+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';
@@ -196,21 +197,6 @@ export const NextAboutTeam = () => (
</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;
- }
-`;
-
const StyledMember = styled.div`
width: calc(25% - 10px);
margin-bottom: 10px;