You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by za...@apache.org on 2020/02/13 07:05:10 UTC
[incubator-tubemq-website] branch master updated: [fix] replace the
github btns with the link in the header
This is an automated email from the ASF dual-hosted git repository.
zakwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq-website.git
The following commit(s) were added to refs/heads/master by this push:
new f2d1d75 [fix] replace the github btns with the link in the header
f2d1d75 is described below
commit f2d1d757ab3550427a5ab29e7caa56983471745b
Author: zakwu <za...@tencent.com>
AuthorDate: Thu Feb 13 15:04:53 2020 +0800
[fix] replace the github btns with the link in the header
---
site_config/site.js | 10 ++++++++++
src/pages/home/index.jsx | 5 -----
src/pages/home/index.scss | 12 ------------
3 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/site_config/site.js b/site_config/site.js
index 708e6db..8396bb9 100644
--- a/site_config/site.js
+++ b/site_config/site.js
@@ -18,6 +18,11 @@ export default {
link: '/en-us/docs/tubemq_user_guide.html',
},
{
+ key: 'github',
+ text: 'GITHUB',
+ link: 'https://github.com/apache/incubator-tubemq-website',
+ },
+ {
key: 'Apache',
text: 'Apache',
children: [
@@ -95,6 +100,11 @@ export default {
link: '/zh-cn/docs/tubemq_user_guide.html',
},
{
+ key: 'github',
+ text: 'GITHUB',
+ link: 'https://github.com/apache/incubator-tubemq-website',
+ },
+ {
key: 'Apache',
text: 'Apache',
children: [
diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx
index 942983d..66e3f63 100644
--- a/src/pages/home/index.jsx
+++ b/src/pages/home/index.jsx
@@ -58,11 +58,6 @@ class Home extends Language {
dataSource.brand.buttons.map((b, index) => <Button type={b.type} key={index} link={b.link} target={b.target}>{b.text}</Button>)
}
</div>
- <div className="github-btns">
- <a className="github-button" href="https://github.com/apache/incubator-tubemq-website" data-size="large" data-icon="octicon-star" aria-label="Star apache/incubator-tubemq-website on GitHub">Star </a>
- <br />
- <a className="github-button" href="https://github.com/apache/incubator-tubemq-website" data-size="large" data-icon="octicon-fork" aria-label="Fork apache/incubator-tubemq-website on GitHub">Fork</a>
- </div>
</div>
</section>
<section className="feature-section" style={{backgroundImage: 'url(' + getLink('/img/sec-page-bg.png') + ')'}}>
diff --git a/src/pages/home/index.scss b/src/pages/home/index.scss
index 85ef6e5..50e8f82 100644
--- a/src/pages/home/index.scss
+++ b/src/pages/home/index.scss
@@ -49,18 +49,6 @@
opacity: 0.6;
margin-top: 48px;
}
- .github-btns {
- position: fixed;
- right: -7px;
- top: 80%;
- z-index: 1000;
-
- .btn {
- display: block;
- width: 40px;
- height: 40px;
- }
- }
.button-area {
margin-top: 40px;