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 2021/10/20 09:30:55 UTC

[incubator-linkis-website] 19/24: ADD: 增加下载页面

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

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

commit 51df1b90a53293ee0a8dc0e8bc32f8f9031b31a4
Author: lucaszhu <lu...@webank.com>
AuthorDate: Mon Oct 18 14:51:11 2021 +0800

    ADD: 增加下载页面
---
 src/App.vue             |  2 +-
 src/pages/download.vue  | 63 ++++++++++++++++++++++++++++++++++++++++++++++++-
 src/pages/team/team.vue | 14 +----------
 src/style/base.less     | 12 ++++++++++
 4 files changed, 76 insertions(+), 15 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 36766e8..e13c9cd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -74,7 +74,7 @@
                         <a href="http://www.apache.org/foundation/thanks.html" class="links-item">{{$t('menu.links.thanks')}}</a>
                     </div>
                 </div>
-                <img src="./assets/image/incubator-logo.png" alt="incubator-logo" class="incubator-logo">
+                <img src="/src/assets/image/incubator-logo.png" alt="incubator-logo" class="incubator-logo">
                 <p class="footer-desc">Apache Linkis (Incubating) is an effort undergoing incubation at The Apache
                     Software Foundation, sponsored by the Apache Incubator. Incubation is required of all newly accepted
                     projects until a further review indicates that the infrastructure, communications, and decision
diff --git a/src/pages/download.vue b/src/pages/download.vue
index 35a96c7..025cbdd 100644
--- a/src/pages/download.vue
+++ b/src/pages/download.vue
@@ -1,3 +1,64 @@
 <template>
-  <div>download</div>
+  <div class="ctn-block normal-page download-page">
+    <h3 class="team-title">Download</h3>
+    <p class="team-desc">Use the links below to download the Apache Linkis (Incubating) Releases. See all Linkis releases in <a class="desc-link" href="">Github release page</a></p>
+    <ul class="download-list">
+      <li class="download-item">
+        <h3 class="item-title"><span>Linkis-1.0.2</span><span><span class="release-date">Release Date: </span>2021-9-2</span></h3>
+        <p class="item-desc">This release mainly introduces Flink-support into Linkis ecosystem.</p>
+        <ul class="item-info">
+          <li class="info-tag">New Features <span class="nums">6</span></li>
+          <li class="info-tag">Enhancement <span class="nums">6</span></li>
+          <li class="info-tag">BUG fixs <span class="nums">6</span></li>
+          <li class="info-tag">Changelog</li>
+        </ul>
+        <a href="" class="corner-botton blue">Download</a>
+      </li>
+    </ul>
+  </div>
 </template>
+<style lang="less" scoped>
+@import url('/src/style/variable.less');
+.download-page{
+  .download-list{
+    padding: 40px 0;
+    .download-item{
+      position: relative;
+      padding: 30px;
+      margin-bottom: 20px;
+      border: 1px solid rgba(15,18,34,0.20);
+      border-radius: 8px;
+      font-size: 16px;
+      .item-title{
+        display: flex;
+        justify-content: space-between;
+        font-size: 24px;
+        line-height: 34px;
+        .release-date{
+          color: rgba(15,18,34,0.45);
+          font-weight: 400;
+        }
+      }
+      .item-desc{
+        padding: 10px 0 40px;
+      }
+      .corner-botton{
+        position: absolute;
+        right: 30px;
+        bottom: 30px;
+      }
+      .item-info{
+        display: flex;
+        color: rgba(15,18,34,0.45);
+        line-height: 22px;
+        .info-tag{
+          padding-right: 30px;
+          .nums{
+            color: @enhance-color;
+          }
+        }
+      }
+    }
+  }
+}
+</style>
diff --git a/src/pages/team/team.vue b/src/pages/team/team.vue
index eb53843..b1286b6 100644
--- a/src/pages/team/team.vue
+++ b/src/pages/team/team.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="ctn-block team-page">
+  <div class="ctn-block normal-page team-page">
     <h3 class="team-title">PMC</h3>
     <p class="team-desc">{{jsonData.info.desc}}</p>
     <ul  class="character-list">
@@ -42,21 +42,9 @@
 
     }
 </script>
-
-
-
 <style lang="less" scoped>
 @import url('/src/style/variable.less');
 .team-page{
-  padding-top: 60px;
-  .team-title{
-    font-size: 24px;
-    line-height: 34px;
-  }
-  .team-desc{
-    color: @enhance-color;
-    font-weight: 400;
-  }
   .contributor-list{
     padding: 20px 0 40px;
     .contributor-item{
diff --git a/src/style/base.less b/src/style/base.less
index 1db54d5..7e6cd4c 100644
--- a/src/style/base.less
+++ b/src/style/base.less
@@ -125,3 +125,15 @@ a:visited {
     border: 1px solid #1A529C;
   }
 }
+
+.normal-page{
+  padding-top: 60px;
+  .normal-title{
+    font-size: 24px;
+    line-height: 34px;
+  }
+  .normal-desc{
+    color: @enhance-color;
+    font-weight: 400;
+  }
+}

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