From edce0d118ab8bf1b38dc85f8d124ca847e1e2c93 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 18 Feb 2021 13:34:05 +0700 Subject: [PATCH] Updating mempool logo and adding new mempool space logo. New frontend config OFFICIAL_MEMPOOL_SPACE to enable the latter. fixes #336 --- frontend/mempool-frontend-config.sample.json | 1 - .../app/components/about/about.component.html | 2 +- .../app/components/about/about.component.ts | 2 +- .../master-page/master-page.component.html | 2 +- .../master-page/master-page.component.ts | 1 + frontend/src/app/services/state.service.ts | 4 ++-- .../src/resources/mempool-logo-bigger.png | Bin 18351 -> 11995 bytes frontend/src/resources/mempool-logo.png | Bin 13721 -> 13315 bytes frontend/src/resources/mempool-space-logo.png | Bin 3524 -> 17016 bytes production/mempool-frontend-config.json | 1 - 10 files changed, 6 insertions(+), 7 deletions(-) diff --git a/frontend/mempool-frontend-config.sample.json b/frontend/mempool-frontend-config.sample.json index 8b668e0de..6ffc50bc8 100644 --- a/frontend/mempool-frontend-config.sample.json +++ b/frontend/mempool-frontend-config.sample.json @@ -5,7 +5,6 @@ "BISQ_SEPARATE_BACKEND": false, "ITEMS_PER_PAGE": 10, "KEEP_BLOCKS_AMOUNT": 8, - "SPONSORS_ENABLED": false, "NGINX_PROTOCOL": "http", "NGINX_HOSTNAME": "127.0.0.1", "NGINX_PORT": "80" diff --git a/frontend/src/app/components/about/about.component.html b/frontend/src/app/components/about/about.component.html index 37d240e22..26ba46727 100644 --- a/frontend/src/app/components/about/about.component.html +++ b/frontend/src/app/components/about/about.component.html @@ -1,7 +1,7 @@

- +
diff --git a/frontend/src/app/components/about/about.component.ts b/frontend/src/app/components/about/about.component.ts index 4e598e693..6d7b3dbc1 100644 --- a/frontend/src/app/components/about/about.component.ts +++ b/frontend/src/app/components/about/about.component.ts @@ -20,7 +20,7 @@ export class AboutComponent implements OnInit, OnDestroy { donationStatus = 1; sponsors$: Observable; donationObj: any; - sponsorsEnabled = this.stateService.env.SPONSORS_ENABLED; + sponsorsEnabled = this.stateService.env.OFFICIAL_MEMPOOL_SPACE; sponsors = null; requestSubscription: Subscription | undefined; diff --git a/frontend/src/app/components/master-page/master-page.component.html b/frontend/src/app/components/master-page/master-page.component.html index dcac245e7..ffe810cc7 100644 --- a/frontend/src/app/components/master-page/master-page.component.html +++ b/frontend/src/app/components/master-page/master-page.component.html @@ -3,7 +3,7 @@