File tree Expand file tree Collapse file tree 8 files changed +12
-9
lines changed Expand file tree Collapse file tree 8 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import {
3
3
FooterBottom ,
4
- Copyright
4
+ Copyright ,
5
+ FooterLink
5
6
} from '../../styles/components/Footer.styles' ;
6
7
7
8
const FooterBottomSection : React . FC = ( ) => {
8
9
const currentYear = new Date ( ) . getFullYear ( ) ;
9
10
10
11
return (
11
12
< FooterBottom >
12
- < Copyright > © { currentYear } Typescript Userscript Template. 保留所有权利。</ Copyright >
13
+ < Copyright >
14
+ © { currentYear } < FooterLink href = "https://github.com/JSREI/typescript-userscript-template" target = "_blank" > Typescript Userscript Template</ FooterLink > . 保留所有权利。
15
+ </ Copyright >
13
16
</ FooterBottom >
14
17
) ;
15
18
} ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ const GitHubButton = styled.a`
101
101
}
102
102
103
103
&:hover {
104
- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
104
+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
105
105
transform: translateY(-2px);
106
106
}
107
107
` ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const StarButtonContainer = styled.a`
19
19
}
20
20
21
21
&:hover {
22
- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
22
+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
23
23
transform: translateY(-2px);
24
24
}
25
25
` ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const PrimaryButton = styled.a`
107
107
text-decoration: none;
108
108
109
109
&:hover {
110
- background: ${ ( { theme } ) => theme . colors . primaryDark } ;
110
+ background: ${ ( { theme } ) => theme . colors . primaryHover } ;
111
111
transform: translateY(-1px);
112
112
box-shadow: ${ ( { theme } ) => theme . boxShadow . button } ;
113
113
}
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ const GlobalStyles = createGlobalStyle`
172
172
box-shadow: ${ ( { theme } ) => theme . boxShadow . button } ;
173
173
174
174
&:hover, &:focus {
175
- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
175
+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
176
176
transform: translateY(-2px);
177
177
}
178
178
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export const StyledLink = styled.a`
70
70
transition: color 0.2s ease;
71
71
72
72
&:hover {
73
- color: ${ ( { theme } ) => theme . colors . primaryDark } ;
73
+ color: ${ ( { theme } ) => theme . colors . primaryHover } ;
74
74
text-decoration: underline;
75
75
}
76
76
` ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const GitHubButton = styled.a`
91
91
}
92
92
93
93
&:hover {
94
- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
94
+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
95
95
transform: translateY(-2px);
96
96
}
97
97
` ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export const PrimaryButton = styled.a`
106
106
transition: all 0.2s;
107
107
108
108
&:hover {
109
- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
109
+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
110
110
transform: translateY(-2px);
111
111
box-shadow: ${ ( { theme } ) => theme . boxShadow . medium } ;
112
112
}
You can’t perform that action at this time.
0 commit comments