2024-01-18 12:13:52 +01:00
|
|
|
import { Component, Input } from '@angular/core';
|
2023-12-04 16:59:29 +09:00
|
|
|
import { EnterpriseService } from '../../services/enterprise.service';
|
2023-11-24 11:13:12 +09:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-about-sponsors',
|
|
|
|
templateUrl: './about-sponsors.component.html',
|
|
|
|
styleUrls: ['./about-sponsors.component.scss'],
|
|
|
|
})
|
|
|
|
export class AboutSponsorsComponent {
|
2024-01-18 12:13:52 +01:00
|
|
|
@Input() host = 'https://mempool.space';
|
2024-02-12 17:30:26 -05:00
|
|
|
@Input() context = 'about';
|
2024-01-18 12:13:52 +01:00
|
|
|
|
2023-12-04 16:59:29 +09:00
|
|
|
constructor(private enterpriseService: EnterpriseService) {
|
|
|
|
}
|
|
|
|
|
|
|
|
onSponsorClick(e): boolean {
|
|
|
|
this.enterpriseService.goal(5);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
onEnterpriseClick(e): boolean {
|
|
|
|
this.enterpriseService.goal(6);
|
|
|
|
return true;
|
|
|
|
}
|
2023-11-24 11:13:12 +09:00
|
|
|
}
|