mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
Hide Mempool project description from non-mempool base module sites.
This commit is contained in:
parent
3c229602e4
commit
4f73bba132
@ -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'"> ™</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">
|
||||
|
@ -176,4 +176,8 @@
|
||||
.footer-version {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.no-about-margin {
|
||||
height: 10px;
|
||||
}
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user