From 45c1e05ebcf8d099edee51084435e243fcd8fb8c Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:30:26 -0500 Subject: [PATCH] Move sponsor boxes to subscriptions account panel --- .../src/app/components/about/about-sponsors.component.html | 4 ++-- .../src/app/components/about/about-sponsors.component.scss | 5 +++++ .../src/app/components/about/about-sponsors.component.ts | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/about/about-sponsors.component.html b/frontend/src/app/components/about/about-sponsors.component.html index ae7232682..9471fc78f 100644 --- a/frontend/src/app/components/about/about-sponsors.component.html +++ b/frontend/src/app/components/about/about-sponsors.component.html @@ -1,4 +1,4 @@ -
+

If you're an individual...

Become a Community Sponsor @@ -13,4 +13,4 @@
-
\ No newline at end of file +
diff --git a/frontend/src/app/components/about/about-sponsors.component.scss b/frontend/src/app/components/about/about-sponsors.component.scss index f3e675fd4..7c01bb9a3 100644 --- a/frontend/src/app/components/about/about-sponsors.component.scss +++ b/frontend/src/app/components/about/about-sponsors.component.scss @@ -6,6 +6,11 @@ align-items: center; gap: 20px; margin: 68px auto; + text-align: center; +} + +#become-sponsor-container.account { + margin: 20px auto; } .become-sponsor { diff --git a/frontend/src/app/components/about/about-sponsors.component.ts b/frontend/src/app/components/about/about-sponsors.component.ts index 6d8f4f7de..6a47c3bd4 100644 --- a/frontend/src/app/components/about/about-sponsors.component.ts +++ b/frontend/src/app/components/about/about-sponsors.component.ts @@ -8,6 +8,7 @@ import { EnterpriseService } from '../../services/enterprise.service'; }) export class AboutSponsorsComponent { @Input() host = 'https://mempool.space'; + @Input() context = 'about'; constructor(private enterpriseService: EnterpriseService) { }