ryohi15 пре 5 година
родитељ
комит
d31b284aa5

+ 2 - 0
src/client/js/components/StaffCredit/StaffCredit.jsx

@@ -5,6 +5,7 @@ import {
   Modal, ModalBody,
 } from 'reactstrap';
 import contributors from './Contributor';
+import cloudContributors from './gcContributors';
 
 /**
  * Page staff credit component
@@ -57,6 +58,7 @@ export default class StaffCredit extends React.Component {
 
   renderContributors() {
     if (this.state.isShown) {
+      contributors.push(cloudContributors.getContributors());
       const credit = contributors.map((contributor) => {
         // construct members elements
         const memberGroups = contributor.memberGroups.map((memberGroup, idx) => {

+ 42 - 0
src/client/js/components/StaffCredit/gcContributors.js

@@ -0,0 +1,42 @@
+const CONTRIBUTORS = {
+  sectionName: 'GROWI-cloud',
+  sectionOrder: '',
+  additionalClass: '',
+  memberGroups: [
+    {
+      additionalClass: 'col-md-3 baba my-4',
+      members: [
+        { name: 'yuki-takei' },
+        { name: 'TatsuyaIse' },
+        { name: 'Yohei-Shiina' },
+        { name: 'skomma' },
+        { name: 'haruhikonyan' },
+        { name: 'Shinichi Kondo' },
+        { name: 'ryu-sato' },
+        { name: 'kouki-o' },
+        { name: 'Takayuki Tamura' },
+        { name: 'itizawa' },
+        { name: 'Ryo Hitotsumatsu' },
+        { name: 'yamagai' },
+        { name: 'Kazuki-Honma' },
+        { name: 'kenta-o' },
+        { name: 'yoshiro-s' },
+        { name: 'keisuke uchida' },
+        { name: 'ukyo-i' },
+        { name: 'takahiro-k' },
+        { name: 'kauzki-f' },
+        { name: 'oshikishintaro' },
+        { name: 'shukmos' },
+      ],
+    },
+  ],
+};
+class StaffCreditService {
+
+  getContributors() {
+    return CONTRIBUTORS;
+  }
+
+}
+
+module.exports = new StaffCreditService();