You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by hb...@apache.org on 2022/09/02 02:07:16 UTC

[age-website] branch new-web updated: Update pmc list modify

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

hbshin pushed a commit to branch new-web
in repository https://gitbox.apache.org/repos/asf/age-website.git


The following commit(s) were added to refs/heads/new-web by this push:
     new c876407  Update pmc list modify
c876407 is described below

commit c876407fbf90f56371ad5e457645a80bc9c51aba
Author: Hanbyeol Shin /  David Shin / 신한별 <76...@users.noreply.github.com>
AuthorDate: Fri Sep 2 11:07:08 2022 +0900

    Update pmc list modify
---
 .gitignore                       |  3 ++
 src/pages/team/index.md          | 70 +++++++---------------------------------
 src/templates/committers-page.js | 28 +++++++++++++---
 3 files changed, 37 insertions(+), 64 deletions(-)

diff --git a/.gitignore b/.gitignore
index e886e9d..7978bb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,6 @@ node_modules
 static/admin/*.bundle.*
 .DS_Store
 yarn-error.log
+docs/*
+venv/*
+static/age-manual/*
\ No newline at end of file
diff --git a/src/pages/team/index.md b/src/pages/team/index.md
index cd3adea..1882967 100644
--- a/src/pages/team/index.md
+++ b/src/pages/team/index.md
@@ -3,8 +3,12 @@ templateKey: committers-page
 path: /committers
 pmcTitle: Project Management Committee (PMC)
 nonpmcTitle: Committers (Not including PMC members)
-video: https://www.youtube.com/embed/YE7nnImntTs
+video: https://www.youtube.com/embed/V3cMlPd0yrY
 pmc:
+  - name: Eya Badal
+    avatar: /img/EyaBadal.jpg
+    githubName: 'eyab'
+    githubLink: 'https://github.com/eyab'
   - name: 'Dehowe Feng'
     avatar: /img/DehoweFeng.jpg
     githubName: 'dehowef'
@@ -16,26 +20,22 @@ pmc:
   - name: 'Alex Kwak'
     avatar: /img/AlexKwak.jpg
     githubName: 'emotionbug'
-    githubLink: 'https://github.com/emotionbug'
-  - name: 'Eya Badal'
-    avatar: /img/EyaBadal.jpg
-    githubName: 'eyab'
-    githubLink: 'https://github.com/eyab'
+    githubLink: 'https://github.com/emotionbug'  
   - name: 'Felix Cheung'
     avatar: /img/FelixCheung.png
     githubName: 'felixcheung'
     githubLink: 'https://github.com/felixcheung'
   - name: 'Jasper Blues'
     avatar: /img/JasperBlues.jpg
-    githubName: 'Jasper Blues'
+    githubName: 'jasperblues'
     githubLink: 'https://github.com/jasperblues'
   - name: 'John Gemignani'
     avatar: /img/JohnGemignani.jpg
-    githubName: 'John Gemignani'
+    githubName: 'JohnGemignani'
     githubLink: 'https://github.com/JohnGemignani'
   - name: 'Josh Innis'
     avatar: /img/JoshInnis.png
-    githubName: 'Josh Innis'
+    githubName: 'JoshInnis'
     githubLink: 'https://github.com/JoshInnis'
   - name: 'Juan Pan'
     avatar: /img/TristaPan.jpg
@@ -43,11 +43,11 @@ pmc:
     githubLink: 'https://github.com/tristaZero'
   - name: 'Pieterjan De Potter'
     avatar: /img/PieterjanDePotter.jpg
-    githubName: 'Pieterjan De Potter'
+    githubName: 'pdpotter'
     githubLink: 'https://github.com/pdpotter'
   - name: 'Nick Sorrell'
     avatar: /img/NickSorrell.png
-    githubName: 'Nick Sorrell'
+    githubName: 'sorrell'
     githubLink: 'https://github.com/sorrell'
   - name: 'Von Gosling'
     avatar: /img/vongosling.jpg
@@ -62,64 +62,16 @@ nonpmc:
     avatar: /img/AndrewKo.png
     githubName: 'aked21'
     githubLink: 'https://github.com/aked21'
-  - name: 'Dehowe Feng'
-    avatar: /img/DehoweFeng.jpg
-    githubName: 'dehowef'
-    githubLink: 'https://github.com/dehowef'
-  - name: 'Kevin Ratnasekera'
-    avatar: /img/KevinRatnasekera.jpg
-    githubName: 'djkevincr'
-    githubLink: 'https://github.com/djkevincr'
-  - name: 'Alex Kwak'
-    avatar: /img/AlexKwak.jpg
-    githubName: 'emotionbug'
-    githubLink: 'https://github.com/emotionbug'
-  - name: 'Eya Badal'
-    avatar: /img/EyaBadal.jpg
-    githubName: 'eyab'
-    githubLink: 'https://github.com/eyab'
-  - name: 'Felix Cheung'
-    avatar: /img/FelixCheung.png
-    githubName: 'felixcheung'
-    githubLink: 'https://github.com/felixcheung'
   - name: 'David Shin'
     avatar: /img/HanbyeolShin.jpg
     githubName: 'shinhanbyeol'
     githubLink: 'https://github.com/shinhanbyeol'
-  - name: 'Jasper Blues'
-    avatar: /img/JasperBlues.jpg
-    githubName: 'jasperblues'
-    githubLink: 'https://github.com/jasperblues'    
-  - name: 'John Gemignani'
-    avatar: /img/JohnGemignani.jpg
-    githubName: 'JohnGemignani'
-    githubLink: 'https://github.com/JohnGemignani'
-  - name: 'Josh Innis'
-    avatar: /img/JoshInnis.png
-    githubName: 'JoshInnis'
-    githubLink: 'https://github.com/JoshInnis'
-  - name: 'Juan Pan'
-    avatar: /img/TristaPan.jpg
-    githubName: 'tristaZero'
-    githubLink: 'https://github.com/tristaZero'
-  - name: 'Pieterjan De Potter'
-    avatar: /img/PieterjanDePotter.jpg
-    githubName: 'pdpotter'
-    githubLink: 'https://github.com/pdpotter'
   - name: 'Muhammad Shoaib'
     avatar: /img/Shoaib.jpg
     githubName: 'muhammadshoaib'
     githubLink: 'https://github.com/muhammadshoaib'    
-  - name: 'Nick Sorrell'
-    avatar: /img/NickSorrell.png
-    githubName: 'sorrell'
-    githubLink: 'https://github.com/sorrell'    
   - name: 'Vuong Quoc Viet'
     avatar: /img/QuocVietVuong.jpg
     githubName: 'quocvietvuong'
     githubLink: 'https://github.com/quocvietvuong'    
-  - name: 'Von Gosling'
-    avatar: /img/vongosling.jpg
-    githubName: 'vongosling'
-    githubLink: 'https://github.com/vongosling'    
 ---
diff --git a/src/templates/committers-page.js b/src/templates/committers-page.js
index b33480d..5f472c9 100644
--- a/src/templates/committers-page.js
+++ b/src/templates/committers-page.js
@@ -18,8 +18,8 @@ export const CommittersTemplatePage = ({
 }) => {
   const PageContent = contentComponent || Content;
 
-  const CommitersList = ({ list }) => {
-    const Commiters = list?.map((item) => {
+  const CommitersList = ({ list, pmcYn }) => {
+    const Commiters = list?.map((item, index) => {
       const avatarImg =
         item.avatar?.childImageSharp?.gatsbyImageData.images.fallback.src ||
         item.avatar;
@@ -29,12 +29,30 @@ export const CommittersTemplatePage = ({
             <div>
               <img src={avatarImg} art="profile image"></img>
             </div>
+            {index === 0 && pmcYn ? (
+              <p
+                style={{
+                  textAlign: 'center',
+                  fontWeight: 'bold',
+                  marginBottom: '-18px',
+                  fontSize: '14px',
+                }}
+              >
+                ✨Chair✨
+              </p>
+            ) : (
+              <></>
+            )}
           </p>
           <p className={`${styles.Name} CommitterName`}>{item.name}</p>
           <p className={`${styles.GithubName}`}>{item.githubName}</p>
           <p className={`${styles.GithubProfile}`}>
             <a href={item.githubLink} target="_blank">
-              <img src={iconGithub} className={styles.githubLink}  alt="github profile link"></img>
+              <img
+                src={iconGithub}
+                className={styles.githubLink}
+                alt="github profile link"
+              ></img>
             </a>
           </p>
         </div>
@@ -46,7 +64,7 @@ export const CommittersTemplatePage = ({
   return (
     <section className={styles.root}>
       <h1>{pmcTitle}</h1>
-      <CommitersList list={pmc} />
+      <CommitersList list={pmc} pmcYn={true} />
       <h1>Welcome to AGE</h1>
       <div className={styles.Youtube}>
         <iframe
@@ -59,7 +77,7 @@ export const CommittersTemplatePage = ({
         ></iframe>
       </div>
       <h1>{nonpmcTitle}</h1>
-      <CommitersList list={nonpmc} />
+      <CommitersList list={nonpmc} pmcYn={false} />
       {/* <PageContent className="content" content={content} /> */}
     </section>
   );