You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2018/07/30 06:54:46 UTC

[incubator-dubbo-website] 01/02: Restore github button and hide unused logo.

This is an automated email from the ASF dual-hosted git repository.

huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git

commit 1f2ba53e7d45d8b3a76d39c2ae6927b9cbec8aca
Author: Huxing Zhang <hu...@gmail.com>
AuthorDate: Mon Jul 30 13:35:51 2018 +0800

    Restore github button and hide unused logo.
---
 site_config/home.jsx     | 6 +++---
 src/pages/home/index.jsx | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/site_config/home.jsx b/site_config/home.jsx
index 719b911..1175f8e 100644
--- a/site_config/home.jsx
+++ b/site_config/home.jsx
@@ -97,7 +97,7 @@ export default {
         link: '/docs/user/quick-start.md',
       },
       viewOnGithubButton: {
-        text: 'View on Github',
+        text: 'VIEW ON GITHUB',
         link: 'https://github.com/apache/incubator-dubbo',
       }
     },
@@ -170,8 +170,8 @@ export default {
         './img/users_icbc.png',
         './img/users_handu.png',
         './img/users_rograndec.png',
-        './img/users_other1.png',
-        './img/users_other2.png'
+        // './img/users_other1.png',
+        // './img/users_other2.png'
       ],
     },
   },
diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx
index 868e8c7..1c2a132 100644
--- a/src/pages/home/index.jsx
+++ b/src/pages/home/index.jsx
@@ -72,12 +72,12 @@ class Home extends Language {
               <img src="./img/incubating.svg" />
             </div>
             <p className="product-desc">{dataSource.brand.briefIntroduction}</p>
-            <div style={{ marginTop: 20, height: 28, textAlign: 'center' }}>
+            {/* <div style={{ marginTop: 20, height: 28, textAlign: 'center' }}>
               <GitHubButton size="large" type="stargazers" namespace="apache" repo="incubator-dubbo" />
-            </div>
+            </div> */}
             <div className="button-area">
               <Link className="button" to={dataSource.brand.getStartedButton.link}>{dataSource.brand.getStartedButton.text}</Link>
-              {/* <Button type="primary" link={dataSource.brand.viewOnGithubButton.link}>{dataSource.brand.viewOnGithubButton.text}</Button> */}
+              <Button type="primary" link={dataSource.brand.viewOnGithubButton.link}>{dataSource.brand.viewOnGithubButton.text}</Button>
             </div>
           </div>
           <div className="animation animation1" />