File tree Expand file tree Collapse file tree
src/layouts/SecondaryKeys/components/NoSecondaryKeysView Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 StyledInfo ,
88 StyledLink ,
99 StyledLinkGroup ,
10+ StyledNavLink ,
1011} from './styles' ;
1112
1213export const NoSecondaryKeysView = ( ) => (
@@ -16,11 +17,15 @@ export const NoSecondaryKeysView = () => (
1617 </ StyledIcon >
1718 < StyledTitle > No secondary keys attached</ StyledTitle >
1819 < StyledInfo >
19- No secondary keys are currently associated with this identity. Add
20- secondary keys and set their permissions from the Authorizations page.
20+ No secondary keys are currently associated with this identity.
21+ < br />
22+ First, add a secondary key from the Authorizations page. Then return here
23+ to set its permissions.
2124 </ StyledInfo >
2225 < StyledLinkGroup >
23- < StyledLink href = { PATHS . AUTHORIZATIONS } > Go to Authorizations</ StyledLink >
26+ < StyledNavLink to = { PATHS . AUTHORIZATIONS } >
27+ Go to Authorizations
28+ </ StyledNavLink >
2429 < StyledLink
2530 href = "https://developers.polymesh.network/identity/advanced/secondary-keys/"
2631 target = "_blank"
Original file line number Diff line number Diff line change 1+ import { NavLink } from 'react-router-dom' ;
12import styled from 'styled-components' ;
23
34export const StyledContainer = styled . section `
@@ -70,3 +71,19 @@ export const StyledLinkGroup = styled.div`
7071 width: 100%;
7172 align-items: center;
7273` ;
74+
75+ export const StyledNavLink = styled ( NavLink ) `
76+ font-size: 16px;
77+ line-height: 150%;
78+ color: ${ ( { theme } ) => theme . colors . textPink } ;
79+ text-decoration: underline;
80+ text-align: center;
81+
82+ &:hover {
83+ opacity: 0.8;
84+ }
85+
86+ @media screen and (max-width: 767px) {
87+ font-size: 15px;
88+ }
89+ ` ;
You can’t perform that action at this time.
0 commit comments