diff --git a/frontend/src/app/components/about/about.component.html b/frontend/src/app/components/about/about.component.html index 4851cfc1b..528cb14fb 100644 --- a/frontend/src/app/components/about/about.component.html +++ b/frontend/src/app/components/about/about.component.html @@ -281,19 +281,43 @@
-
- @softsimon_ +
+ + softsimon +
-
- @wiz +
+ + wiz +
+

+ +

Project Contributors

+ +
+
+
+
+ + + +
+ + {{ contributor.name }} +
+
+
+ +

+

diff --git a/frontend/src/app/components/about/about.component.ts b/frontend/src/app/components/about/about.component.ts index 6d7b3dbc1..59e941465 100644 --- a/frontend/src/app/components/about/about.component.ts +++ b/frontend/src/app/components/about/about.component.ts @@ -19,9 +19,11 @@ export class AboutComponent implements OnInit, OnDestroy { paymentForm: FormGroup; donationStatus = 1; sponsors$: Observable; + contributors$: Observable; donationObj: any; sponsorsEnabled = this.stateService.env.OFFICIAL_MEMPOOL_SPACE; sponsors = null; + contributors = null; requestSubscription: Subscription | undefined; constructor( @@ -51,6 +53,11 @@ export class AboutComponent implements OnInit, OnDestroy { .subscribe((sponsors) => { this.sponsors = sponsors; }); + + this.apiService.getContributor$() + .subscribe((contributors) => { + this.contributors = contributors; + }); } ngOnDestroy() { diff --git a/frontend/src/app/services/api.service.ts b/frontend/src/app/services/api.service.ts index b31bb24f3..21a1aa8b3 100644 --- a/frontend/src/app/services/api.service.ts +++ b/frontend/src/app/services/api.service.ts @@ -77,6 +77,10 @@ export class ApiService { return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations'); } + getContributor$(): Observable { + return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/contributors'); + } + checkDonation$(orderId: string): Observable { return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations/check?order_id=' + orderId); } diff --git a/nginx-mempool.conf b/nginx-mempool.conf index 6da53dfd2..8c2f6948b 100644 --- a/nginx-mempool.conf +++ b/nginx-mempool.conf @@ -40,6 +40,12 @@ location /api/v1/donations/images { proxy_pass https://mempool.space; } + location /api/v1/contributors { + proxy_pass https://mempool.space; + } + location /api/v1/contributors/images { + proxy_pass https://mempool.space; + } location /api/v1/ws { proxy_pass http://127.0.0.1:8999/; proxy_http_version 1.1;