Add network to preview headers & inc font size

This commit is contained in:
Mononaut
2022-09-09 18:14:16 +00:00
parent 1a8102f91c
commit 4fb77a9a45
10 changed files with 52 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
<h2 class="preview-header">
<ng-container *ngIf="{ val: network$ | async } as network">
<ng-container [ngSwitch]="network.val">
<span *ngSwitchCase="'bisq'">Bisq </span>
<span *ngSwitchCase="'liquid'">Liquid </span>
<span *ngSwitchCase="'liquidtestnet'">Liquid </span>
<span *ngSwitchDefault>Bitcoin </span>
</ng-container>
</ng-container>
<ng-content></ng-content>
</h2>