Tweak html description meta tags / SEO service page titles

This commit is contained in:
wiz
2022-01-05 15:58:15 +09:00
parent 784e2470df
commit 358301020f
5 changed files with 15 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ export class BisqMainDashboardComponent implements OnInit {
) { }
ngOnInit(): void {
this.seoService.setTitle(`Markets`);
this.seoService.resetTitle();
this.websocketService.want(['blocks']);
this.usdPrice$ = this.stateService.conversions$.asObservable().pipe(

View File

@@ -27,10 +27,14 @@ export class SeoService {
}
getTitle(): string {
if (this.network === 'testnet')
return 'mempool - Bitcoin Testnet';
if (this.network === 'signet')
return 'mempool - Bitcoin Signet';
if (this.network === 'liquid')
return 'mempool - Liquid Network';
if (this.network === 'liquidtestnet')
return 'mempool - Liquid Network Testnet';
return 'mempool - Liquid Testnet';
if (this.network === 'bisq')
return 'mempool - Bisq Markets';
return 'mempool - ' + (this.network ? this.ucfirst(this.network) : 'Bitcoin') + ' Explorer';