<div fxLayout="row" fxLayoutAlign="start center" class="page-title-container">
  <fa-icon class="page-title-img mr-1" [icon]="faChartPie" />
  <span class="page-title">On-chain Balance</span>
</div>
<div fxLayout="column" class="padding-gap-x mb-4">
  <mat-card>
    <mat-card-content fxLayout="column">
      <rtl-currency-unit-converter [values]="balances" />
    </mat-card-content>
  </mat-card>
</div>
<div fxLayout="row" fxLayoutAlign="start center" class="page-title-container">
  <fa-icon class="page-title-img mr-1" [icon]="faUsers" />
  <span class="page-title">Connections</span>
</div>
<div fxLayout="column" class="padding-gap-x">
  <mat-card>
    <mat-card-content fxLayout="column">
      <mat-tab-group mat-stretch-tabs="false" mat-align-tabs="start" [(selectedIndex)]="activeLink" (selectedTabChange)="onSelectedTabChange($event)">
        <mat-tab>
          <ng-template mat-tab-label>
            <span matBadgeOverlap="false" class="tab-badge" matBadge="{{activeChannels}}">Channels</span>
          </ng-template>
        </mat-tab>
        <mat-tab>
          <ng-template mat-tab-label>
            <span matBadgeOverlap="false" class="tab-badge" matBadge="{{activePeers}}">Peers</span>
          </ng-template>
        </mat-tab>
      </mat-tab-group>
      <div fxLayout="column" fxFlex="100" fxLayoutAlign="space-between stretch" class="padding-gap-x-large">
        <router-outlet />
      </div>
    </mat-card-content>
  </mat-card>
</div>