Skip to content

Commit da7b03c

Browse files
committed
doc: update website.
1 parent 1f615c5 commit da7b03c

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

website/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default function AppRoot() {
147147
target="__blank"
148148
/>
149149
<div className={styles.header}>
150-
<div className={styles.title}>HotKeys.js</div>
150+
<a className={styles.title} href="http://jaywcjlove.github.io">HotKeys.js</a>
151151
<div className={styles.github}>
152152
<a href="https://www.npmjs.com/package/hotkeys-js">
153153
<button type="button">On NPM</button>
@@ -158,14 +158,14 @@ export default function AppRoot() {
158158
<a href="https://github.com/jaywcjlove/hotkeys-js/">
159159
<button type="button">Doc on Github</button>
160160
</a>&nbsp;
161-
<a href="https://jaywcjlove.gitee.io/hotkeys/">
161+
<a href="https://gitee.com/jaywcjlove/hotkeys/">
162162
<button type="button">Doc on Gitee</button>
163163
</a>&nbsp;
164164
<button
165165
onClick={toggleLanguage}
166166
title={isChineseDoc ? 'Switch to English' : '切换到中文'}
167167
>
168-
{isChineseDoc ? 'EN' : '中文'}
168+
{isChineseDoc ? 'EN' : '🇨🇳中文'}
169169
</button>
170170
</div>
171171
<div className={styles.info}>

website/styles/index.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
font-weight: bold;
4646
color: #fff;
4747
text-shadow: -3px -3px 0 #676767, -3px -3px 0 #676767, -3px -3px 0 #676767, -2px -2px 0 #676767, -2px -2px 0 #676767, -1px -1px 0 #676767;
48+
transition: all 0.3s;
49+
}
50+
.header .title:hover {
51+
text-shadow: -3px -3px 0 #363636, -3px -3px 0 #363636, -3px -3px 0 #363636, -2px -2px 0 #363636, -2px -2px 0 #363636, -1px -1px 0 #363636;
4852
}
4953
.header .lang {
5054
text-align: center;

0 commit comments

Comments
 (0)