Add official Github star button.

This commit is contained in:
ciaochaos 2020-06-12 01:17:46 +08:00
parent 6e23260901
commit aa74be4d10
3 changed files with 15 additions and 0 deletions

View File

@ -11,6 +11,7 @@
"react": "^16.13.1",
"react-color": "^2.18.1",
"react-dom": "^16.13.1",
"react-github-btn": "^1.2.0",
"react-redux": "^7.2.0",
"react-scripts": "3.4.1",
"redux": "^4.0.5"

View File

@ -1,6 +1,7 @@
import React from 'react';
import './App.css';
import LinkButton from "../link/LinkButton";
import GitHubButton from 'react-github-btn'
const PartMore = () => (
<div className="Qr-titled-nobg">
@ -8,6 +9,7 @@ const PartMore = () => (
<div className="Qr-s-title">More</div>
<p className="Qr-s-subtitle">更多</p>
<div className="Qr-article">
<GitHubButton href="https://github.com/ciaochaos/qrbtf" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star ciaochaos/qrbtf on GitHub">Star</GitHubButton>
<h2>最新消息</h2>
<p><b>2020.6.11</b><br/>QRBTF React 组件发布快在你的应用中引入 react-qrbtf <a href='https://github.com/cpunisher/react-qrbtf' rel="noopener noreferrer" target="_blank">访问项目</a></p>
<p><b>2020.5.23</b><br/>网站开源啦<a href='https://github.com/ciaochaos/qrbtf' rel="noopener noreferrer" target="_blank">点击访问</a> 我们的 Github。期待你也来参与设计、开发给个 Star 支持一下不?查看文章 <a href='https://mp.weixin.qq.com/s/GFEMCWQu3e2qhTuBabnHmQ' rel="noopener noreferrer" target="_blank">QRBTF 开源啦来写个二维码样式吧</a></p>

View File

@ -4821,6 +4821,11 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"
github-buttons@^2.8.0:
version "2.11.0"
resolved "https://registry.npm.taobao.org/github-buttons/download/github-buttons-2.11.0.tgz#e05acef43e670be0a93912a1ec67c5432acccfa7"
integrity sha1-4FrO9D5nC+CpORKh7GfFQyrMz6c=
glob-parent@^3.1.0:
version "3.1.0"
resolved "https://registry.npm.taobao.org/glob-parent/download/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae"
@ -8698,6 +8703,13 @@ react-error-overlay@^6.0.7:
resolved "https://registry.npm.taobao.org/react-error-overlay/download/react-error-overlay-6.0.7.tgz#1dcfb459ab671d53f660a991513cb2f0a0553108"
integrity sha1-Hc+0WatnHVP2YKmRUTyy8KBVMQg=
react-github-btn@^1.2.0:
version "1.2.0"
resolved "https://registry.npm.taobao.org/react-github-btn/download/react-github-btn-1.2.0.tgz#464066f999a77c0eed27980260601b51cbe15614"
integrity sha1-RkBm+ZmnfA7tJ5gCYGAbUcvhVhQ=
dependencies:
github-buttons "^2.8.0"
react-is@^16.12.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4, react-is@^16.9.0:
version "16.13.1"
resolved "https://registry.npm.taobao.org/react-is/download/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"