doc: fix homepage url error. (#437)

pull/348/head
jaywcjlove 2 years ago
parent 814060f8cb
commit ed76b04b73

@ -6,10 +6,10 @@
![no dependencies](http://jaywcjlove.github.io/sb/status/no-dependencies.svg)
[![GitHub Actions CI](https://github.com/jaywcjlove/hotkeys/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/hotkeys/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/jaywcjlove/hotkeys/badge.svg?branch=master)](https://coveralls.io/github/jaywcjlove/hotkeys?branch=master)
[![English](https://jaywcjlove.github.io/sb/lang/english.svg)](https://jaywcjlove.github.io/hotkeys/)
[![English](https://jaywcjlove.github.io/sb/lang/english.svg)](https://jaywcjlove.github.io/hotkeys-js/)
[![for Gitee](https://jaywcjlove.github.io/sb/ico/gitee.svg)](https://gitee.com/jaywcjlove/hotkeys)
这是一个强健的 Javascript 库用于捕获键盘输入和输入的组合键,它易于使用,没有依赖,压缩只有([~3kb](https://bundlephobia.com/result?p=hotkeys-js))gzip: 1.73kb。[官方文档DEMO预览](http://jaywcjlove.github.io/hotkeys/?lang=cn)[更多实例](https://github.com/jaywcjlove/hotkeys/issues?q=label%3ADemo+)。
这是一个强健的 Javascript 库用于捕获键盘输入和输入的组合键,它易于使用,没有依赖,压缩只有([~3kb](https://bundlephobia.com/result?p=hotkeys-js))gzip: 1.73kb。[官方文档DEMO预览](http://jaywcjlove.github.io/hotkeys-js/?lang=cn)[更多实例](https://github.com/jaywcjlove/hotkeys/issues?q=label%3ADemo+)。
```shell
@ -406,8 +406,8 @@ $ npm run test:watch # Development model
As always, thanks to our amazing contributors!
<a href="https://github.com/jaywcjlove/hotkeys/graphs/contributors">
<img src="https://jaywcjlove.github.io/hotkeys/CONTRIBUTORS.svg" />
<a href="https://github.com/jaywcjlove/hotkeys-js/graphs/contributors">
<img src="https://jaywcjlove.github.io/hotkeys-js/CONTRIBUTORS.svg" />
</a>
Made with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).

@ -414,8 +414,8 @@ $ npm run test:watch # Development model
As always, thanks to our amazing contributors!
<a href="https://github.com/jaywcjlove/hotkeys/graphs/contributors">
<img src="https://jaywcjlove.github.io/hotkeys/CONTRIBUTORS.svg" />
<a href="https://github.com/jaywcjlove/hotkeys-js/graphs/contributors">
<img src="https://jaywcjlove.github.io/hotkeys-js/CONTRIBUTORS.svg" />
</a>
Made with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).

@ -92,7 +92,7 @@ export default class App extends Component {
<div>
<div className={styles.tools}>
<select className={styles.version} onChange={this.openVersionWebsite.bind(this)}>
<option value="https://jaywcjlove.github.io/hotkeys">
<option value="https://jaywcjlove.github.io/hotkeys-js">
v
{pkg.version}
</option>
@ -107,17 +107,17 @@ export default class App extends Component {
{keyStr.map((item) => <span key={`${item}`}>{item}</span>)}
</div>
)}
<GithubCorner href="https://github.com/jaywcjlove/hotkeys" target="__blank" />
<GithubCorner href="https://github.com/jaywcjlove/hotkeys-js" target="__blank" />
<div className={styles.header}>
<div className={styles.title}>HotKeys.js</div>
<div className={styles.github}>
<a href="https://www.npmjs.com/package/hotkeys-js">
<button type="button">On NPM</button>
</a>
<a href="https://github.com/jaywcjlove/hotkeys/">
<a href="https://github.com/jaywcjlove/hotkeys-js/">
<button type="button">Fork on Github</button>
</a>
<a href="https://github.com/jaywcjlove/hotkeys/">
<a href="https://github.com/jaywcjlove/hotkeys-js/">
<button type="button">Doc on Github</button>
</a>
<a href="https://jaywcjlove.gitee.io/hotkeys/">
@ -134,11 +134,11 @@ export default class App extends Component {
/>
<MarkdownPreview style={{ maxWidth: 995, margin: '0 auto' }} source={DocumentStrSource} />
<Footer name="Kenny Wong" href="http://jaywcjlove.github.io" year="2015-present">
<Github user="jaywcjlove" repo="hotkeys">
<Github.Social href="https://github.com/jaywcjlove/hotkeys" type="forks" />
<Github.Social href="https://github.com/jaywcjlove/hotkeys" type="stars" />
<Github.Social href="https://github.com/jaywcjlove/hotkeys" type="watchers" />
<Github.Social href="https://github.com/jaywcjlove/hotkeys" type="followers" />
<Github user="jaywcjlove" repo="hotkeys-js">
<Github.Social href="https://github.com/jaywcjlove/hotkeys-js" type="forks" />
<Github.Social href="https://github.com/jaywcjlove/hotkeys-js" type="stars" />
<Github.Social href="https://github.com/jaywcjlove/hotkeys-js" type="watchers" />
<Github.Social href="https://github.com/jaywcjlove/hotkeys-js" type="followers" />
</Github>
</Footer>
</div>

Loading…
Cancel
Save