You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2022/02/24 05:27:06 UTC

[incubator-linkis-website] branch dev updated: fix wrong url

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

peacewong pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git


The following commit(s) were added to refs/heads/dev by this push:
     new ee5a584  fix wrong url
     new 2a38eb3  Merge pull request #171 from casionone/dev
ee5a584 is described below

commit ee5a584e2e223ecb2be0817ac07d4dcf9fa10753
Author: casionone <ca...@gmail.com>
AuthorDate: Thu Feb 24 13:19:30 2022 +0800

    fix wrong url
---
 src/pages/home/index.js | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/pages/home/index.js b/src/pages/home/index.js
index 507811b..0045de6 100644
--- a/src/pages/home/index.js
+++ b/src/pages/home/index.js
@@ -18,7 +18,12 @@ export default function() {
            <h1 className="home-title"><span className="apache">Apache</span> <span className="linkis">Linkis</span> <span className="badge">Incubating</span></h1>
            <p className="home-desc">{dataSource.home.banner.slogan}</p>
            <div className="botton-row center">
-             <a href="/#/docs/deploy/linkis" className="corner-botton blue-fill">{dataSource.common.getStart}</a>
+              {
+                 language === 'en' &&  <a href="/docs/latest/deployment/quick_deploy" className="corner-botton blue-fill">{dataSource.common.getStart}</a>
+              }
+              {
+                 language === 'zh-CN' &&<a href="/zh-CN/docs/latest/deployment/quick_deploy" className="corner-botton blue-fill">{dataSource.common.getStart}</a>
+              }
              <a href={systemConfiguration.github.projectUrl}  target="_blank"  className="corner-botton blue">
              <img className="button-icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHKADAAQAAAABAAAAHAAAAABkvfSiAAAE2klEQVRIDa1WSyykWRQ+qrwf8YzQ3iTKWyrxmoWoWJHMoqIRKWErs7AYk1jIWDS9YCdshQWxQMsIYUE6Wm1qiJAIimjSqPaI8hrEu+Z8d9xKVak2mDnJrfvXueee79zzuteFXkApKSlqNzc3rYuLSz6PCN7y7nHbd4vFYrq/v9fz+GN5eXn+39S5PCeQmppaykAfGUT1nJxcY9BVHr8vLS0NSp7j7BQwIyMjjgX7FApFHoM57nn2P5+Y7u7 [...]
            </div>
@@ -78,7 +83,13 @@ export default function() {
               <p className="home-paragraph">{dataSource.home.description.paragraph2}</p>
             </div>
             <div className="botton-row center">
-              <a href="/#/docs/introduction/index" className="corner-botton blue-fill">{dataSource.common.learnMore}</a>
+
+                {
+                   language === 'en' && <a href="/docs/latest/introduction" className="corner-botton blue-fill">{dataSource.common.learnMore}</a>
+                }
+                {
+                   language === 'zh-CN' && <a href="/zh-CN/docs/latest/introduction" className="corner-botton blue-fill">{dataSource.common.learnMore}</a>
+                }
             </div>
         </div>
       </div>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org