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 11import React from 'react' ;
22import {
33 FooterBottom ,
4- Copyright
4+ Copyright ,
5+ FooterLink
56} from '../../styles/components/Footer.styles' ;
67
78const FooterBottomSection : React . FC = ( ) => {
89 const currentYear = new Date ( ) . getFullYear ( ) ;
910
1011 return (
1112 < 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 >
1316 </ FooterBottom >
1417 ) ;
1518} ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ const GitHubButton = styled.a`
101101 }
102102
103103 &:hover {
104- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
104+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
105105 transform: translateY(-2px);
106106 }
107107` ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const StarButtonContainer = styled.a`
1919 }
2020
2121 &:hover {
22- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
22+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
2323 transform: translateY(-2px);
2424 }
2525` ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const PrimaryButton = styled.a`
107107 text-decoration: none;
108108
109109 &:hover {
110- background: ${ ( { theme } ) => theme . colors . primaryDark } ;
110+ background: ${ ( { theme } ) => theme . colors . primaryHover } ;
111111 transform: translateY(-1px);
112112 box-shadow: ${ ( { theme } ) => theme . boxShadow . button } ;
113113 }
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ const GlobalStyles = createGlobalStyle`
172172 box-shadow: ${ ( { theme } ) => theme . boxShadow . button } ;
173173
174174 &:hover, &:focus {
175- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
175+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
176176 transform: translateY(-2px);
177177 }
178178
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export const StyledLink = styled.a`
7070 transition: color 0.2s ease;
7171
7272 &:hover {
73- color: ${ ( { theme } ) => theme . colors . primaryDark } ;
73+ color: ${ ( { theme } ) => theme . colors . primaryHover } ;
7474 text-decoration: underline;
7575 }
7676` ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const GitHubButton = styled.a`
9191 }
9292
9393 &:hover {
94- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
94+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
9595 transform: translateY(-2px);
9696 }
9797` ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export const PrimaryButton = styled.a`
106106 transition: all 0.2s;
107107
108108 &:hover {
109- background-color: ${ ( { theme } ) => theme . colors . primaryDark } ;
109+ background-color: ${ ( { theme } ) => theme . colors . primaryHover } ;
110110 transform: translateY(-2px);
111111 box-shadow: ${ ( { theme } ) => theme . boxShadow . medium } ;
112112 }
You can’t perform that action at this time.
0 commit comments