You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by le...@apache.org on 2022/07/04 02:05:14 UTC

[inlong-website] branch master updated: [INLONG-474] Optimize download page (#475)

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

leezng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 5fda3fa84 [INLONG-474] Optimize download page (#475)
5fda3fa84 is described below

commit 5fda3fa84d5c28a4bf1b8aa8965fa578e8ed94d7
Author: Lizhen <88...@users.noreply.github.com>
AuthorDate: Mon Jul 4 10:05:09 2022 +0800

    [INLONG-474] Optimize download page (#475)
---
 docusaurus.config.js            |   3 +-
 src/pages/downloads/config.json | 284 ++++++++++++++++++++++++++++++++++++++++
 src/pages/downloads/index.js    | 127 ++++++++++++++++++
 src/pages/downloads/index.less  |   5 +
 4 files changed, 417 insertions(+), 2 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index bfc88b463..6a7d8be5e 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -108,10 +108,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
             ],
           },
           {
-            to: '/download/main',
+            to: '/downloads',
             position: 'right',
             label: 'DOWNLOAD',
-            activeBaseRegex: `/download/`,
           },
           {
             to: '/community/how-to-contribute',
diff --git a/src/pages/downloads/config.json b/src/pages/downloads/config.json
new file mode 100644
index 000000000..92e77a439
--- /dev/null
+++ b/src/pages/downloads/config.json
@@ -0,0 +1,284 @@
+{
+  "zh-CN": {
+    "topTitle": "最新版本 1.2.0",
+    "topPrompt": "你可以在这里下载到最新的版本。",
+    "releaseTitle": "发布完整性",
+    "olderTitle": "以前的版本",
+    "olderPrompt": "你可以在这里下载以前版本的 InLong。",
+    "olderData": [
+      {
+        "version": "1.1.0",
+        "date": "2022-04-24",
+        "release": "release-1.1.0",
+        "releaseUrl": "/zh-CN/download/release-1.1.0",
+        "source": "apache-inlong-1.1.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/1.1.0-incubating/apache-inlong-1.1.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/1.1.0-incubating/apache-inlong-1.1.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/1.1.0-incubating/apache-inlong-1.1.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "1.0.0",
+        "date": "2022-02-17",
+        "release": "release-1.0.0",
+        "releaseUrl": "/zh-CN/download/release-1.0.0",
+        "source": "apache-inlong-1.0.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/1.0.0-incubating/apache-inlong-1.0.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/1.0.0-incubating/apache-inlong-1.0.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/1.0.0-incubating/apache-inlong-1.0.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.12.0",
+        "date": "2021-12-22",
+        "release": "release-0.12.0",
+        "releaseUrl": "/zh-CN/download/release-0.12.0",
+        "source": "apache-inlong-0.12.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.12.0-incubating/apache-inlong-0.12.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.12.0-incubating/apache-inlong-0.12.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.12.0-incubating/apache-inlong-0.12.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.11.0",
+        "date": "2021-11-05",
+        "release": "release-0.11.0",
+        "releaseUrl": "/zh-CN/download/release-0.11.0",
+        "source": "apache-inlong-0.11.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.11.0-incubating/apache-inlong-0.11.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.11.0-incubating/apache-inlong-0.11.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.11.0-incubating/apache-inlong-0.11.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.10.0",
+        "date": "2021-09-11",
+        "release": "release-0.10.0",
+        "releaseUrl": "/zh-CN/download/release-0.10.0",
+        "source": "apache-inlong-0.10.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.10.0-incubating/apache-inlong-0.10.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.10.0-incubating/apache-inlong-0.10.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.10.0-incubating/apache-inlong-0.10.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.9.0",
+        "date": "2021-07-11",
+        "release": "release-0.9.0",
+        "releaseUrl": "/zh-CN/download/release-0.9.0",
+        "source": "apache-inlong-0.9.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.9.0-incubating/apache-inlong-0.9.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.9.0-incubating/apache-inlong-0.9.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.9.0-incubating/apache-inlong-0.9.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.8.0",
+        "date": "2021-03-04",
+        "release": "release-0.8.0",
+        "releaseUrl": "/zh-CN/download/release-0.8.0",
+        "source": "apache-tubemq-0.8.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.8.0-incubating/apache-tubemq-0.8.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.8.0-incubating/apache-tubemq-0.8.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.8.0-incubating/apache-tubemq-0.8.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.7.0",
+        "date": "2020-12-04",
+        "release": "release-0.7.0",
+        "releaseUrl": "/zh-CN/download/release-0.7.0",
+        "source": "apache-tubemq-0.7.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.7.0-incubating/apache-tubemq-0.7.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.7.0-incubating/apache-tubemq-0.7.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.7.0-incubating/apache-tubemq-0.7.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.6.0",
+        "date": "2020-10-21",
+        "release": "release-0.6.0",
+        "releaseUrl": "/zh-CN/download/release-0.6.0",
+        "source": "apache-tubemq-0.6.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.6.0-incubating/apache-tubemq-0.6.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.6.0-incubating/apache-tubemq-0.6.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.6.0-incubating/apache-tubemq-0.6.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.5.0",
+        "date": "2020-08-04",
+        "release": "release-0.5.0",
+        "releaseUrl": "/zh-CN/download/release-0.5.0",
+        "source": "apache-tubemq-0.5.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.5.0-incubating/apache-tubemq-0.5.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.5.0-incubating/apache-tubemq-0.5.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.5.0-incubating/apache-tubemq-0.5.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.3.0",
+        "date": "2020-06-06",
+        "release": "release-0.3.0",
+        "releaseUrl": "/zh-CN/download/release-0.3.0",
+        "source": "apache-tubemq-0.3.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.3.0-incubating/apache-tubemq-0.3.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.3.0-incubating/apache-tubemq-0.3.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.3.0-incubating/apache-tubemq-0.3.0-incubating-src.tar.gz.sha512"
+      }
+    ]
+  },
+  "en": {
+    "topTitle": "Current version 1.2.0",
+    "topPrompt": "You can download the latest version here.",
+    "releaseTitle": "Release Integrity",
+    "olderTitle": "Older releases",
+    "olderPrompt": "You can download previous versions of InLong here.",
+    "olderData": [
+      {
+        "version": "1.1.0",
+        "date": "Apr 24, 2022",
+        "release": "release-1.1.0",
+        "releaseUrl": "/download/release-1.1.0",
+        "source": "apache-inlong-1.1.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/1.1.0-incubating/apache-inlong-1.1.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/1.1.0-incubating/apache-inlong-1.1.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/1.1.0-incubating/apache-inlong-1.1.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "1.0.0",
+        "date": "Feb 17, 2022",
+        "release": "release-1.0.0",
+        "releaseUrl": "/download/release-1.0.0",
+        "source": "apache-inlong-1.0.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/1.0.0-incubating/apache-inlong-1.0.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/1.0.0-incubating/apache-inlong-1.0.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/1.0.0-incubating/apache-inlong-1.0.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.12.0",
+        "date": "Dec 22, 2021",
+        "release": "release-0.12.0",
+        "releaseUrl": "/download/release-0.12.0",
+        "source": "apache-inlong-0.12.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.12.0-incubating/apache-inlong-0.12.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.12.0-incubating/apache-inlong-0.12.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.12.0-incubating/apache-inlong-0.12.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.11.0",
+        "date": "Nov 5, 2021",
+        "release": "release-0.11.0",
+        "releaseUrl": "/download/release-0.11.0",
+        "source": "apache-inlong-0.11.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.11.0-incubating/apache-inlong-0.11.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.11.0-incubating/apache-inlong-0.11.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.11.0-incubating/apache-inlong-0.11.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.10.0",
+        "date": "Sept 11, 2021",
+        "release": "release-0.10.0",
+        "releaseUrl": "/download/release-0.10.0",
+        "source": "apache-inlong-0.10.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.10.0-incubating/apache-inlong-0.10.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.10.0-incubating/apache-inlong-0.10.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.10.0-incubating/apache-inlong-0.10.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.9.0",
+        "date": "July 11, 2021",
+        "release": "release-0.9.0",
+        "releaseUrl": "/download/release-0.9.0",
+        "source": "apache-inlong-0.9.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/inlong/0.9.0-incubating/apache-inlong-0.9.0-incubating-src.tar.gz",
+        "asc": "ASC",
+        "ascUrl": "https://archive.apache.org/dist/incubator/inlong/0.9.0-incubating/apache-inlong-0.9.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/inlong/0.9.0-incubating/apache-inlong-0.9.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.8.0",
+        "date": "March. 4th, 2021",
+        "release": "release-0.8.0",
+        "releaseUrl": "/download/release-0.8.0",
+        "source": "apache-tubemq-0.8.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.8.0-incubating/apache-tubemq-0.8.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.8.0-incubating/apache-tubemq-0.8.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.8.0-incubating/apache-tubemq-0.8.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.7.0",
+        "date": "December. 4th, 2020",
+        "release": "release-0.7.0",
+        "releaseUrl": "/download/release-0.7.0",
+        "source": "apache-tubemq-0.7.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.7.0-incubating/apache-tubemq-0.7.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.7.0-incubating/apache-tubemq-0.7.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.7.0-incubating/apache-tubemq-0.7.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.6.0",
+        "date": "October. 21th, 2020",
+        "release": "release-0.6.0",
+        "releaseUrl": "/download/release-0.6.0",
+        "source": "apache-tubemq-0.6.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.6.0-incubating/apache-tubemq-0.6.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.6.0-incubating/apache-tubemq-0.6.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.6.0-incubating/apache-tubemq-0.6.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.5.0",
+        "date": "August. 4th, 2020",
+        "release": "release-0.5.0",
+        "releaseUrl": "/download/release-0.5.0",
+        "source": "apache-tubemq-0.5.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.5.0-incubating/apache-tubemq-0.5.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.5.0-incubating/apache-tubemq-0.5.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.5.0-incubating/apache-tubemq-0.5.0-incubating-src.tar.gz.sha512"
+      },
+      {
+        "version": "0.3.0",
+        "date": "June. 6th, 2020",
+        "release": "release-0.3.0",
+        "releaseUrl": "/download/release-0.3.0",
+        "source": "apache-tubemq-0.3.0-incubating-src.tar.gz",
+        "sourceUrl": "https://archive.apache.org/dist/incubator/tubemq/0.3.0-incubating/apache-tubemq-0.3.0-incubating-src.tar.gz",
+        "asc": "PGP",
+        "ascUrl": "https://archive.apache.org/dist/incubator/tubemq/0.3.0-incubating/apache-tubemq-0.3.0-incubating-src.tar.gz.asc",
+        "sha": "SHA512",
+        "shaUrl": "https://archive.apache.org/dist/incubator/tubemq/0.3.0-incubating/apache-tubemq-0.3.0-incubating-src.tar.gz.sha512"
+      }
+    ]
+  }
+}
\ No newline at end of file
diff --git a/src/pages/downloads/index.js b/src/pages/downloads/index.js
new file mode 100644
index 000000000..666694c86
--- /dev/null
+++ b/src/pages/downloads/index.js
@@ -0,0 +1,127 @@
+import React, { useState }  from 'react';
+import useIsBrowser from '@docusaurus/useIsBrowser';
+import useBaseUrl from '@docusaurus/useBaseUrl';
+import config from '../downloads/config.json';
+import Layout from '@theme/Layout';
+import './index.less';
+
+export default function() {
+  const isBrowser = useIsBrowser();
+
+  const [p1Animation, setP1Animation] = useState(false);
+  const [p2Animation, setP2Animation] = useState(false);
+
+  const language = isBrowser && location.pathname.indexOf('/zh-CN/') === 0 ? 'zh-CN' : 'en';
+  const dataSource = config?.[language];
+
+  return (
+      <Layout>
+        <div className="down-div"><br/>
+          <h2>{dataSource.topTitle}</h2>
+          <p>{dataSource.topPrompt}</p>
+          <table>
+            <tbody>
+            <tr>
+              <td>Release</td>
+              <td>Date</td>
+              <td>Link</td>
+              <td>Crypto files</td>
+            </tr>
+            <tr>
+              <td>InLong Source Code</td>
+              <td>Jun 20, 2022</td>
+              <td>
+                <a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz">
+                  apache-inlong-1.2.0-incubating-src.tar.gz
+                </a>
+              </td>
+              <td>
+                [<a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz.asc">ASC</a>]
+                [<a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz.sha512">SHA512</a>]
+              </td>
+            </tr>
+            <tr>
+              <td>InLong Binary file</td>
+              <td>Jun 20, 2022</td>
+              <td>
+                <a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-bin.tar.gz">
+                  apache-inlong-1.2.0-incubating-bin.tar.gz
+                </a>
+              </td>
+              <td>
+                [<a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz.asc">ASC</a>]
+                [<a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz.sha512">SHA512</a>]
+              </td>
+            </tr>
+            <tr>
+              <td>Connector Binary file</td>
+              <td>Jun 20, 2022</td>
+              <td>
+                <a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-sort-connectors.tar.gz">
+                  apache-inlong-1.2.0-incubating-sort-connectors.tar.gz
+                </a>
+              </td>
+              <td>
+                [<a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz.asc">ASC</a>]
+                [<a href="https://downloads.apache.org/inlong/1.2.0-incubating/apache-inlong-1.2.0-incubating-src.tar.gz.sha512">SHA512</a>]
+              </td>
+            </tr>
+            </tbody>
+          </table>
+
+          <br/>
+          <h3>{dataSource.releaseTitle}</h3>
+          {
+              language === 'zh-CN' && <div>
+                您必须 <a href="https://www.apache.org/info/verification.html">验证</a> 下载文件的完整性。
+                我们为每个发布文件提供 OpenPGP 签名。此签名应与包含 InLong 发布经理的 OpenPGP 密钥的 <a
+                  href="https://downloads.apache.org/incubator/inlong/KEYS">KEYS</a> 文件匹配。
+                我们还为每个发布文件提供 <code>SHA-512</code> 校验和。下载文件后,您应该计算下载的校验和,并确保它与我们提供的相同。
+              </div>
+          }
+          {
+              language === 'en' && <div>
+                You must <a href="https://www.apache.org/info/verification.html">verify</a> the integrity of the downloaded files.
+                We provide OpenPGP signatures for every release file. This signature should be matched against the <a
+                  href="https://downloads.apache.org/incubator/inlong/KEYS">KEYS</a> file which contains the OpenPGP keys of InLong's Release Managers.
+                We also provide <code>SHA-512</code> checksums for every release file. After you download the file, you should calculate a checksum for your download, and make sure it is the same as ours.
+              </div>
+          }
+          <br/>
+
+          <h3>{dataSource.olderTitle}</h3>
+          <p>{dataSource.olderPrompt}</p>
+
+          <table  id="olderTable">
+            <tbody>
+            <tr>
+              <td>Version</td>
+              <td>Date</td>
+              <td>Release notes</td>
+              <td>Source</td>
+              <td>Crypto files</td>
+            </tr>
+            {
+              dataSource.olderData.map((data, i) => (
+                  <tr key={i} index={i}>
+                    <td>{data.version}</td>
+                    <td>{data.date}</td>
+                    <td>
+                      <a href={data.releaseUrl}>{data.release}</a>
+                    </td>
+                    <td>
+                      <a href={data.sourceUrl}>{data.source}</a>
+                    </td>
+                    <td>
+                      [<a href={data.ascUrl}>{data.asc}</a>]
+                      [<a href={data.shaUrl}>{data.sha}</a>]
+                    </td>
+                  </tr>
+              ))
+            }
+            </tbody>
+          </table>
+        </div>
+      </Layout>
+  );
+}
diff --git a/src/pages/downloads/index.less b/src/pages/downloads/index.less
new file mode 100644
index 000000000..ce5bea6b8
--- /dev/null
+++ b/src/pages/downloads/index.less
@@ -0,0 +1,5 @@
+.down-div {
+  width: 50%;
+  margin: 0 auto;
+}
+