Removing sponsor. Link to Enterprise sponsor

This commit is contained in:
softsimon
2022-08-12 03:44:58 +04:00
parent 251de2be11
commit 1008ab6222
8 changed files with 8 additions and 394 deletions

View File

@@ -27,8 +27,8 @@
<br><br>
<div class="sponsor-button">
<button [hidden]="showNavigateToSponsor" type="button" class="btn btn-primary" (click)="sponsor()" i18n="about.become-a-sponsor">Become a sponsor ❤️</button>
<ng-container *ngIf="showNavigateToSponsor" i18n="about.navigate-to-sponsor">Navigate to <a href="https://mempool.space/sponsor" target="_blank">https://mempool.space/sponsor</a> to sponsor</ng-container>
<button [hidden]="showNavigateToSponsor" type="button" class="btn btn-primary" (click)="sponsor()" i18n="about.become-a-enterprise-sponsor">Become an enterprise sponsor ❤️</button>
<ng-container *ngIf="showNavigateToSponsor" i18n="about.navigate-to-sponsor">Navigate to <a href="https://mempool.space/enterprise" target="_blank">https://mempool.space/enterprise</a> to become an enterprise sponsor</ng-container>
</div>
<div class="enterprise-sponsor">

View File

@@ -65,6 +65,10 @@
height: 45px;
width: 100%;
}
img {
width: 67px;
height: 67px;
}
}
.alliances {

View File

@@ -61,9 +61,9 @@ export class AboutComponent implements OnInit {
);
}
sponsor() {
sponsor(): void {
if (this.officialMempoolSpace && this.stateService.env.BASE_MODULE === 'mempool') {
this.router.navigateByUrl('/sponsor');
this.router.navigateByUrl('/enterprise');
} else {
this.showNavigateToSponsor = true;
}