This is an automated email from the ASF dual-hosted git repository.
liudongkai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new c22110dd99 update team show (#930)
c22110dd99 is described below
commit c22110dd99bb827a0503781dda0f96fa1aeb5eb3
Author: Devosend <[email protected]>
AuthorDate: Wed Dec 6 14:42:57 2023 +0800
update team show (#930)
---
public/images/contributor/guowei.jpeg | Bin 0 -> 744632 bytes
src/views/Community/index.jsx | 102 +++-------------------------------
2 files changed, 7 insertions(+), 95 deletions(-)
diff --git a/public/images/contributor/guowei.jpeg
b/public/images/contributor/guowei.jpeg
new file mode 100644
index 0000000000..39288f3efd
Binary files /dev/null and b/public/images/contributor/guowei.jpeg differ
diff --git a/src/views/Community/index.jsx b/src/views/Community/index.jsx
index 3a10dffa09..b39ab04b4d 100644
--- a/src/views/Community/index.jsx
+++ b/src/views/Community/index.jsx
@@ -1,4 +1,3 @@
-import { useState } from "react";
import { Button, List, Skeleton, Avatar } from "antd";
import {
GithubOutlined,
@@ -64,111 +63,26 @@ const subs = [
];
const PMCMembers = [
- {githubId: 'William-GuoWei', publicName: 'Guo William'},
+ {githubId: 'William-GuoWei', publicName: 'Guo William', image: 'guowei'},
{githubId: 'davidzollo', publicName: 'Lidong Dai', image: 'lidong'},
- {githubId: 'CalvinKirs', publicName: 'Calvin Kirs'},
{githubId: 'zhongjiajie', publicName: 'Jiajie Zhong', image:
'zhongjiajie'},
- {githubId: 'kamaci', publicName: 'Furkan Kamaci'},
- {githubId: 'gaojun2048', publicName: 'EricJoy2048 Jun Gao',
image: 'gaojun'},
- {githubId: 'lgcareer', publicName: 'Gang Li'},
{githubId: 'caishunfeng', publicName: 'ShunFeng Cai', image:
'caishunfeng'},
{githubId: 'ruanwenjun', publicName: 'Wenjun Ruan', image: 'wenjun'},
- {githubId: 'lenboo', publicName: 'Leon Bao', image: 'leonbao'},
- {githubId: 'Technoboy-', publicName: 'Guo Jiwei'},
- {githubId: 'wu-sheng', publicName: 'Sheng Wu'},
- {githubId: 'calvinjiang', publicName: 'Hua Jiang'},
- {githubId: 'songjianet', publicName: 'Jian Song'},
- {githubId: 'zhuangchong', publicName: 'Chong Zhuang'},
- {githubId: 'JinyLeeChina', publicName: 'JinyLeeChina'},
- {githubId: 'djkevincr', publicName: 'Kevin Ratnasekera'},
- {githubId: 'EricGao888', publicName: 'Chufeng Gao'},
- {githubId: 'chenliang613', publicName: 'Liang Chen'},
- {githubId: 'qiaozhanwei', publicName: 'Qiao Zhanwei'},
- {githubId: 'shaofengshi', publicName: 'Shao Feng Shi'},
- {githubId: 'Baoqi', publicName: 'Wu Baoqi'},
- {githubId: 'khadgarmage', publicName: 'Xiaochun Liu'},
- {githubId: 'kezhenxu94', publicName: 'Zhenxu Ke'},
- {githubId: 'SbloodyS', publicName: 'Zihao Xiang'},
- {githubId: 'millionfor', publicName: 'ZijJian Gong'},
]
const committerMembers = [
+{githubId: 'lenboo', publicName: 'Leon Bao', image: 'leonbao'},
+{githubId: 'gaojun2048', publicName: 'EricJoy2048 Jun Gao',
image: 'gaojun'},
{githubId: 'nielifeng', publicName: 'Lifeng Nie', image: 'lifeng'},
-{githubId: 'Amy0104', publicName: 'Amy Wang'},
-{githubId: 'break60', publicName: 'Caibiao Xiang'},
{githubId: 'yifei', publicName: 'Yifei Chen', image: 'yifei'},
-{githubId: 'chongchongzi', publicName: 'Cong Huang'},
{githubId: 'devosend', publicName: 'Dongkai Liu', image: 'dongkai'},
{githubId: 'liuli', publicName: 'Li Liu', image: 'liuli'},
-{githubId: 'wen-hemin', publicName: 'Hemin Wen'},
-{githubId: 'Niko-Zeng', publicName: 'Hui Zeng', image: 'zenghui'},
-{githubId: 'jieguangzhou', publicName: 'Jieguang Zhou'},
-{githubId: 'WangJPLeo', publicName: 'Jipeng Wang'},
-{githubId: 'labbomb', publicName: 'JunJie Xu'},
-{githubId: 'nauu', publicName: 'Kai Zhu'},
-{githubId: 'Jave-Chen', publicName: 'Kejia Chen'},
-{githubId: 'Eights-Li', publicName: 'Li Huang'},
-{githubId: 'samz406', publicName: 'Lin Li'},
-{githubId: 'qingwli', publicName: 'Qingwang Li'},
-{githubId: 'clay4444', publicName: 'Shang Lou'},
-{githubId: 'gabrywu', publicName: 'Shaojie Wu'},
-{githubId: 'chengshiwen', publicName: 'Shiwen Cheng'},
-{githubId: 'Tianqi-Dotes', publicName: 'Tianqi Yan'},
-{githubId: 'wangxj3', publicName: 'Wang Xingjie'},
-{githubId: 'liwenhe1993', publicName: 'Wenhe Li'},
-{githubId: 'xingchun-chen', publicName: 'Xingchun Chen'},
-{githubId: 'yangyichao-mango', publicName: 'Yichao Yang'},
-{githubId: 'Wangyizhi1', publicName: 'Yizhi Wang'},
-{githubId: 'BoYiZhang', publicName: 'BoYi Zhang'},
-{githubId: 'zixi0825', publicName: 'Zhaohe Sun'},
-{githubId: 'lfyee', publicName: 'Zongyao Zhang'}]
+{githubId: 'Niko-Zeng', publicName: 'Hui Zeng', image: 'zenghui'}
+]
const Community = () => {
const params = useParams();
const { t } = useTranslation();
- const [PMCLoading, setPMCLoading] = useState(false);
- const [committerLoading, setcommitterLoading] = useState(false);
- const loadMore =
- !PMCLoading ? (
- <div
- style={{
- textAlign: 'center',
- marginTop: 12,
- height: 32,
- lineHeight: '32px',
- }}
- >
- <Button
- type="primary"
- shape="round"
- size="large"
- onClick={() => setPMCLoading(true)}
- >
- {t("show_more")}
- </Button>
- </div>
- ) : null;
-
- const loadCommitterMore =
- !committerLoading ? (
- <div
- style={{
- textAlign: 'center',
- marginTop: 12,
- height: 32,
- lineHeight: '32px',
- }}
- >
- <Button
- type="primary"
- shape="round"
- size="large"
- onClick={() => setcommitterLoading(true)}
- >
- {t("show_more")}
- </Button>
- </div>
- ) : null;
return (
<section className="community">
@@ -295,9 +209,8 @@ const Community = () => {
<div className="community-team-list">
<List
className="demo-loadmore-list"
- loadMore={loadMore}
grid={{ gutter: 16, column: 5 }}
- dataSource={PMCLoading ? PMCMembers : PMCMembers.slice(0, 10)}
+ dataSource={PMCMembers}
renderItem={(item) => (
<List.Item
>
@@ -316,9 +229,8 @@ const Community = () => {
<div className="community-team-list">
<List
className="demo-loadmore-list"
- loadMore={loadCommitterMore}
grid={{ gutter: 16, column: 5 }}
- dataSource={committerLoading ? committerMembers :
committerMembers.slice(0, 10)}
+ dataSource={committerMembers}
renderItem={(item) => (
<List.Item
>