From f6d779051287314895c0c09e283d303c6ef8bb6d Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Thu, 18 Jan 2024 12:13:52 +0100 Subject: [PATCH] [sponsors] allow setting up custom host for the sponsor component --- .../src/app/components/about/about-sponsors.component.html | 4 ++-- frontend/src/app/components/about/about-sponsors.component.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/components/about/about-sponsors.component.html b/frontend/src/app/components/about/about-sponsors.component.html index f76d74f8b..ae7232682 100644 --- a/frontend/src/app/components/about/about-sponsors.component.html +++ b/frontend/src/app/components/about/about-sponsors.component.html @@ -1,14 +1,14 @@

If you're an individual...

- Become a Community Sponsor + Become a Community Sponsor

If you're a business...

- Become an Enterprise Sponsor + Become an Enterprise Sponsor diff --git a/frontend/src/app/components/about/about-sponsors.component.ts b/frontend/src/app/components/about/about-sponsors.component.ts index 31863cd8f..6d8f4f7de 100644 --- a/frontend/src/app/components/about/about-sponsors.component.ts +++ b/frontend/src/app/components/about/about-sponsors.component.ts @@ -1,4 +1,4 @@ -import { Component } from '@angular/core'; +import { Component, Input } from '@angular/core'; import { EnterpriseService } from '../../services/enterprise.service'; @Component({ @@ -7,6 +7,8 @@ import { EnterpriseService } from '../../services/enterprise.service'; styleUrls: ['./about-sponsors.component.scss'], }) export class AboutSponsorsComponent { + @Input() host = 'https://mempool.space'; + constructor(private enterpriseService: EnterpriseService) { }