You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2023/02/22 02:57:35 UTC

[incubator-streampark-website] branch dev updated: improve: Add a redirect using user link (#181)

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

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


The following commit(s) were added to refs/heads/dev by this push:
     new 967ebe3  improve: Add a redirect using user link (#181)
967ebe3 is described below

commit 967ebe3748694497f6988c9f641eabe1f1861247
Author: WSZ <12...@qq.com>
AuthorDate: Wed Feb 22 10:57:30 2023 +0800

    improve: Add a redirect using user link (#181)
---
 src/pages/user/images.json | 150 ++++++++++++++++++++++++++++++++++++---------
 src/pages/user/index.js    |  14 +++--
 2 files changed, 128 insertions(+), 36 deletions(-)

diff --git a/src/pages/user/images.json b/src/pages/user/images.json
index 2aa9c75..8194ade 100644
--- a/src/pages/user/images.json
+++ b/src/pages/user/images.json
@@ -1,32 +1,122 @@
 [
-    {"url":"tencent.png"},
-    {"url":"baidu.png"},
-    {"url":"china-unicon.png"},
-    {"url":"yto.png"},
-    {"url":"ziroom.png"},
-    {"url":"inmobi.png"},
-    {"url":"ctyun.png"},
-    {"url":"yonghui.png"},
-    {"url":"doctorglasses.png"},
-    {"url":"itcast.png"},
-    {"url":"dtsclouds.png"},
-    {"url":"dustess.png"},
-    {"url":"zoomlion.png"},
-    {"url":"bondex.png"},
-    {"url":"relx.png"},
-    {"url":"atguigu.png"},
-    {"url":"yunlizhi.png"},
-    {"url":"zehoo.png"},
-    {"url":"deepway.png"},
-    {"url":"gigacloud_technology.png"},
-    {"url":"belle.png"},
-    {"url":"fy-data.png"},
-    {"url":"haibo.png"},
-    {"url":"hopson.png"},
-    {"url":"joyme.png"},
-    {"url":"shunwang.png"},
-    {"url":"sobot.png"},
-    {"url":"yipage.png"},
-    {"url":"yucun.png"},
-    {"url":"banggood.png"}
+  {
+    "imgUrl": "tencent.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1221793407"
+  },
+  {
+    "imgUrl": "baidu.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-919051523"
+  },
+  {
+    "imgUrl": "china-unicon.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1110504908"
+  },
+  {
+    "imgUrl": "yto.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1139312118"
+  },
+  {
+    "imgUrl": "ziroom.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1139258870"
+  },
+  {
+    "imgUrl": "inmobi.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-925543512"
+  },
+  {
+    "imgUrl": "ctyun.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1200959475"
+  },
+  {
+    "imgUrl": "yonghui.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1200950246"
+  },
+  {
+    "imgUrl": "doctorglasses.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1139380442"
+  },
+  {
+    "imgUrl": "itcast.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1202869920"
+  },
+  {
+    "imgUrl": "dtsclouds.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1060163177"
+  },
+  {
+    "imgUrl": "dustess.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1053560178"
+  },
+  {
+    "imgUrl": "zoomlion.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1053940469"
+  },
+  {
+    "imgUrl": "bondex.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1209046845"
+  },
+  {
+    "imgUrl": "relx.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1190134660"
+  },
+  {
+    "imgUrl": "atguigu.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1072426004"
+  },
+  {
+    "imgUrl": "yunlizhi.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-902445724"
+  },
+  {
+    "imgUrl": "zehoo.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1080401301"
+  },
+  {
+    "imgUrl": "deepway.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1226705335"
+  },
+  {
+    "imgUrl": "gigacloud_technology.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1201920672"
+  },
+  {
+    "imgUrl": "belle.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-981537659"
+  },
+  {
+    "imgUrl": "fy-data.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-845603591"
+  },
+  {
+    "imgUrl": "haibo.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-919246964"
+  },
+  {
+    "imgUrl": "hopson.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-919802000"
+  },
+  {
+    "imgUrl": "joyme.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-976162112"
+  },
+  {
+    "imgUrl": "shunwang.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1209045211"
+  },
+  {
+    "imgUrl": "sobot.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1099833774"
+  },
+  {
+    "imgUrl": "yipage.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1241823645"
+  },
+  {
+    "imgUrl": "yucun.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1080345217"
+  },
+  {
+    "imgUrl": "banggood.png",
+    "url": "https://github.com/apache/incubator-streampark/issues/163#issuecomment-1177373719"
+  }
 ]
diff --git a/src/pages/user/index.js b/src/pages/user/index.js
index c21596c..6098da5 100644
--- a/src/pages/user/index.js
+++ b/src/pages/user/index.js
@@ -18,8 +18,8 @@ export default function () {
     {() => {
       // AOS JS
       AOS.init({
-        offset: 100,
-        duration: 700,
+        offset: 80,
+        duration: 500,
         easing: "ease-out-quad",
         once: !0
       });
@@ -34,10 +34,12 @@ export default function () {
             <div className="user_case home_block">
               {
                 img.map((item, i) => (
-                  <div key={i} index={i} data-aos="fade-up" data-aos-delay={i * 100}>
-                    <div className="case_item case_hover" >
-                      <img src={useBaseUrl('/user/' + item.url)} alt="name" />
-                    </div>
+                  <div key={i} index={i} data-aos="fade-up" data-aos-delay={i * 50}>
+                    <a href={item.url} target="_blank">
+                      <div className="case_item case_hover" >
+                        <img src={useBaseUrl('/user/' + item.imgUrl)} alt="name" />
+                      </div>
+                    </a>
                   </div>
                 ))
               }