Add network to preview headers & inc font size

This commit is contained in:
Mononaut committed 2022-09-09 18:15:36 +00:00
1 parent 1a8102f91c
commit 4fb77a9a45
10 files changed
+52 -7

No files matched your search

@@ -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>