Implement enterprise cta in docs [desktop]

This commit is contained in:
hunicus 2023-08-11 17:11:05 +09:00
parent a9e92d0593
commit a23881e62c
No known key found for this signature in database
GPG key ID: 24837C51B6D81FD9
2 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,7 @@
<div id="enterprise-cta-desktop">
<p>Get higher API limits with Mempool Enterprise</p>
<a class="btn btn-small btn-purple" href="/enterprise">More Info <fa-icon [icon]="['fas', 'angle-right']" [styles]="{'font-size': '12px'}"></fa-icon></a>
</div>
<div *ngFor="let item of tabData">
<p *ngIf="( item.type === 'category' ) && ( item.showConditions.indexOf(network.val) > -1 )">{{ item.title }}</p>
<a *ngIf="( item.type !== 'category' ) && ( item.showConditions.indexOf(network.val) > -1 ) && ( !item.hasOwnProperty('options') || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('officialOnly') && item.options.officialOnly && officialMempoolInstance ) || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('auditOnly') && item.options.auditOnly && auditEnabled ) )" [routerLink]="['./']" fragment="{{ item.fragment }}" (click)="navLinkClick($event)">{{ item.title }}</a>

View file

@ -11,3 +11,19 @@ a {
display: block;
margin: 5px 0;
}
#enterprise-cta-desktop {
text-align: center;
padding: 20px;
margin: 20px 20px 20px 0;
background-color: #1d1f31;
border-radius: 12px;
}
#enterprise-cta-desktop p {
margin: 0 auto 20px auto;
}
#enterprise-cta-desktop a {
display: inline-block;
}