Move sponsor boxes to subscriptions account panel

This commit is contained in:
hunicus 2024-02-12 17:30:26 -05:00
parent 512f632475
commit 45c1e05ebc
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<div id="become-sponsor-container">
<div id="become-sponsor-container" [ngClass]="context">
<div class="become-sponsor community">
<p style="font-weight: 700; font-size: 18px;">If you're an individual...</p>
<a [href]="host + '/sponsor'" class="btn" style="background-color: rgba(152, 88, 255, 0.75); box-shadow: 0px 0px 50px 5px rgba(152, 88, 255, 0.75)" i18n="about.community-sponsor-button" (click)="onSponsorClick($event)">Become a Community Sponsor</a>

View File

@ -6,6 +6,11 @@
align-items: center;
gap: 20px;
margin: 68px auto;
text-align: center;
}
#become-sponsor-container.account {
margin: 20px auto;
}
.become-sponsor {

View File

@ -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) {
}