Hide Mempool project description from non-mempool base module sites.

This commit is contained in:
softsimon 2021-08-14 01:37:28 +03:00
parent 3c229602e4
commit 4f73bba132
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
3 changed files with 9 additions and 2 deletions

View File

@ -8,10 +8,13 @@
</div>
</div>
<div class="about-text">
<div class="about-text" *ngIf="stateService.env.BASE_MODULE === 'mempool'; else marginBox">
<h5><ng-container i18n="about.about-the-project">The Mempool Open Source Project</ng-container><ng-template [ngIf]="locale.substr(0, 2) === 'en'"> &trade;</ng-template></h5>
<p i18n>Building a mempool and blockchain explorer for the Bitcoin community, focusing on the transaction fee market and multi-layer ecosystem, without any advertising, altcoins, or third-party trackers.</p>
</div>
<ng-template #marginBox>
<div class="no-about-margin"></div>
</ng-template>
<div class="social-icons">
<a target="_blank" href="https://github.com/mempool/mempool">

View File

@ -176,4 +176,8 @@
.footer-version {
font-size: 12px;
}
}
.no-about-margin {
height: 10px;
}

View File

@ -25,7 +25,7 @@ export class AboutComponent implements OnInit {
constructor(
private websocketService: WebsocketService,
private seoService: SeoService,
private stateService: StateService,
public stateService: StateService,
private apiService: ApiService,
private router: Router,
@Inject(LOCALE_ID) public locale: string,