Skip to content

Commit f6d54c9

Browse files
authored
Merge pull request finos#632 from finos/631-suggested-edits-for-httpsgit-proxyfinosorg
chore: add all maintainers & contributors to docs site ❇️
2 parents 5b90408 + df71ab3 commit f6d54c9

File tree

4 files changed

+109
-5
lines changed

4 files changed

+109
-5
lines changed

website/docusaurus.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ module.exports = {
1919
platform: 'linkedin',
2020
url: 'https://www.linkedin.com/embed/feed/update/urn:li:share:7092203565380722688',
2121
},
22+
{
23+
platform: 'linkedin',
24+
url: 'https://www.linkedin.com/embed/feed/update/urn:li:activity:7211986423942385664',
25+
},
2226
{
2327
platform: 'linkedin',
2428
url: 'https://www.linkedin.com/embed/feed/update/urn:li:activity:7181933362339549184',

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"@docusaurus/core": "^3.0.0",
1414
"@docusaurus/preset-classic": "^3.0.0",
15+
"axios": "^1.7.2",
1516
"classnames": "^2.2.6",
1617
"clsx": "^2.0.0",
1718
"eslint": "^8.0.0",

website/src/pages/index.js

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import React from 'react';
1+
import React, { useEffect } from 'react';
22
import Layout from '@theme/Layout';
33
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
44
import Avatar from '../components/avatar';
55
import Testimonials from './testimonials';
66
import ReactPlayer from 'react-player';
7+
import axios from 'axios';
78

89
/**
910
* Home page component
@@ -14,6 +15,13 @@ function Home() {
1415
const { siteConfig = {} } = context;
1516

1617
const [showDemo, setShowDemo] = React.useState(false);
18+
const [contributors, setContributors] = React.useState([]);
19+
20+
useEffect(() => {
21+
axios.get('https://api.github.com/repos/finos/git-proxy/contributors').then((res) => {
22+
setContributors(res.data);
23+
});
24+
}, []);
1725

1826
return (
1927
<Layout title={`${siteConfig.title}`} description={`${siteConfig.tagline}`}>
@@ -132,8 +140,25 @@ function Home() {
132140
)}
133141
</div>
134142
</div>
143+
<Testimonials />
135144
<div className='container text--center margin-top--xl'>
136-
<h1 className='margin-top--md'>Meet the Team 👋</h1>
145+
<h1 className='margin-top--md'>
146+
Our{' '}
147+
<span
148+
style={{
149+
color: 'purple',
150+
border: '2px solid purple',
151+
paddingTop: '5px',
152+
paddingBottom: '5px',
153+
paddingLeft: '10px',
154+
paddingRight: '10px',
155+
borderRadius: '30px',
156+
backgroundColor: 'rgba(90, 34, 139, 0.1)',
157+
}}
158+
>
159+
Maintainers
160+
</span>
161+
</h1>
137162
<div className='row margin-top--xl margin-bottom--xl'>
138163
<div className='col col--4'>
139164
<div className='col-demo'>
@@ -178,7 +203,41 @@ function Home() {
178203
</div>
179204
</div>
180205
</div>
181-
<Testimonials />
206+
<div className='container text--center'>
207+
<h1 className='margin-top--md'>
208+
Our{' '}
209+
<span
210+
style={{
211+
color: '#30d5c8',
212+
border: '2px solid #30d5c8',
213+
paddingTop: '5px',
214+
paddingBottom: '5px',
215+
paddingLeft: '10px',
216+
paddingRight: '10px',
217+
borderRadius: '30px',
218+
backgroundColor: 'rgba(48, 213, 200, 0.1)',
219+
}}
220+
>
221+
Contributors
222+
</span>
223+
</h1>
224+
<div className='row margin-top--xl margin-bottom--xl'>
225+
{contributors.map((contributor) => {
226+
if (![29139614, 49699333].includes(contributor.id))
227+
return (
228+
<div key={contributor.id} className='col col--4'>
229+
<div className='col-demo'>
230+
<Avatar
231+
name={contributor.login}
232+
description={`${contributor.contributions} ${contributor.contributions > 1 ? 'contributions' : 'contribution'}`}
233+
username={contributor.login}
234+
/>
235+
</div>
236+
</div>
237+
);
238+
})}
239+
</div>
240+
</div>
182241
</Layout>
183242
);
184243
}

website/yarn.lock

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2773,6 +2773,11 @@ astring@^1.8.0:
27732773
resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.6.tgz#2c9c157cf1739d67561c56ba896e6948f6b93731"
27742774
integrity sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==
27752775

2776+
asynckit@^0.4.0:
2777+
version "0.4.0"
2778+
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
2779+
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
2780+
27762781
at-least-node@^1.0.0:
27772782
version "1.0.0"
27782783
resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
@@ -2797,6 +2802,15 @@ available-typed-arrays@^1.0.7:
27972802
dependencies:
27982803
possible-typed-array-names "^1.0.0"
27992804

2805+
axios@^1.7.2:
2806+
version "1.7.2"
2807+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621"
2808+
integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==
2809+
dependencies:
2810+
follow-redirects "^1.15.6"
2811+
form-data "^4.0.0"
2812+
proxy-from-env "^1.1.0"
2813+
28002814
babel-loader@^9.1.3:
28012815
version "9.1.3"
28022816
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-9.1.3.tgz#3d0e01b4e69760cc694ee306fe16d358aa1c6f9a"
@@ -3218,6 +3232,13 @@ combine-promises@^1.1.0:
32183232
resolved "https://registry.yarnpkg.com/combine-promises/-/combine-promises-1.2.0.tgz#5f2e68451862acf85761ded4d9e2af7769c2ca6a"
32193233
integrity sha512-VcQB1ziGD0NXrhKxiwyNbCDmRzs/OShMs2GqW2DlU2A/Sd0nQxE1oWDAE5O0ygSx5mgQOn9eIFh7yKPgFRVkPQ==
32203234

3235+
combined-stream@^1.0.8:
3236+
version "1.0.8"
3237+
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
3238+
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
3239+
dependencies:
3240+
delayed-stream "~1.0.0"
3241+
32213242
comma-separated-tokens@^2.0.0:
32223243
version "2.0.3"
32233244
resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee"
@@ -3692,6 +3713,11 @@ del@^6.1.1:
36923713
rimraf "^3.0.2"
36933714
slash "^3.0.0"
36943715

3716+
delayed-stream@~1.0.0:
3717+
version "1.0.0"
3718+
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
3719+
integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
3720+
36953721
36963722
version "2.0.0"
36973723
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
@@ -4505,7 +4531,7 @@ flatted@^3.2.9:
45054531
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
45064532
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
45074533

4508-
follow-redirects@^1.0.0:
4534+
follow-redirects@^1.0.0, follow-redirects@^1.15.6:
45094535
version "1.15.6"
45104536
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b"
45114537
integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==
@@ -4541,6 +4567,15 @@ form-data-encoder@^2.1.2:
45414567
resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5"
45424568
integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==
45434569

4570+
form-data@^4.0.0:
4571+
version "4.0.0"
4572+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
4573+
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
4574+
dependencies:
4575+
asynckit "^0.4.0"
4576+
combined-stream "^1.0.8"
4577+
mime-types "^2.1.12"
4578+
45444579
format@^0.2.0:
45454580
version "0.2.2"
45464581
resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b"
@@ -6636,7 +6671,7 @@ [email protected]:
66366671
dependencies:
66376672
mime-db "~1.33.0"
66386673

6639-
mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34:
6674+
mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34:
66406675
version "2.1.35"
66416676
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
66426677
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
@@ -7521,6 +7556,11 @@ proxy-addr@~2.0.7:
75217556
forwarded "0.2.0"
75227557
ipaddr.js "1.9.1"
75237558

7559+
proxy-from-env@^1.1.0:
7560+
version "1.1.0"
7561+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
7562+
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
7563+
75247564
punycode@^1.3.2:
75257565
version "1.4.1"
75267566
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"

0 commit comments

Comments
 (0)