Global footer component that fixes Liquid

This commit is contained in:
softsimon
2023-05-05 01:38:58 +04:00
parent e3e273a688
commit d40344aa92
9 changed files with 82 additions and 54 deletions

View File

@@ -69,26 +69,5 @@
<router-outlet></router-outlet>
</main>
<footer *ngIf="networkPaths['mainnet'] !== '/about'">
<div class="pref-selectors">
<div class="selector">
<app-language-selector></app-language-selector>
</div>
<div class="selector">
<app-fiat-selector></app-fiat-selector>
</div>
</div>
<div class="terms-of-service">
<a [routerLink]="['/terms-of-service']" i18n="shared.terms-of-service|Terms of Service">Terms of Service</a>
|
<a [routerLink]="['/privacy-policy']" i18n="shared.privacy-policy|Privacy Policy">Privacy Policy</a>
|
<a *ngIf="officialMempoolSpace && networkPaths['mainnet'] === '/lightning' else broadcastTransaction" [routerLink]="['/lightning/group/the-mempool-open-source-project' | relativeUrl]">Connect to our nodes</a>
<ng-template #broadcastTransaction>
<a [routerLink]="['/tx/push' | relativeUrl]" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</a>
</ng-template>
</div>
<br>
</footer>
<app-global-footer></app-global-footer>
</ng-container>