Add missing meta descriptions

This commit is contained in:
hunicus 2023-09-06 22:42:33 +09:00
parent 827b0f6ad1
commit 42a222338b
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
3 changed files with 4 additions and 1 deletions

View File

@ -105,6 +105,7 @@ export class AssetComponent implements OnInit, OnDestroy {
if (!this.assetContract) { if (!this.assetContract) {
this.assetContract = [null, '?', 'Unknown', 0]; this.assetContract = [null, '?', 'Unknown', 0];
} }
this.seoService.setDescription($localize`:@@meta.description.liquid.asset:Browse an overview of the Liquid asset ${this.assetContract[2]}:INTERPOLATION: (${this.assetContract[1]}:INTERPOLATION:): see issued amount, burned amount, circulating amount, related transactions, and more.`);
this.blindedIssuance = this.asset.chain_stats.has_blinded_issuances || this.asset.mempool_stats.has_blinded_issuances; this.blindedIssuance = this.asset.chain_stats.has_blinded_issuances || this.asset.mempool_stats.has_blinded_issuances;
this.isNativeAsset = asset.asset_id === this.nativeAssetId; this.isNativeAsset = asset.asset_id === this.nativeAssetId;
this.updateChainStats(); this.updateChainStats();

View File

@ -62,6 +62,7 @@ export class HashrateChartPoolsComponent implements OnInit {
let firstRun = true; let firstRun = true;
this.seoService.setTitle($localize`:@@mining.pools-historical-dominance:Pools Historical Dominance`); this.seoService.setTitle($localize`:@@mining.pools-historical-dominance:Pools Historical Dominance`);
this.seoService.setDescription($localize`:@@meta.descriptions.bitcoin.graphs.hashrate-pools:See Bitcoin mining pool dominance visualized over time: see how top mining pools' share of total hashrate has fluctuated over time.`);
this.miningWindowPreference = this.miningService.getDefaultTimespan('6m'); this.miningWindowPreference = this.miningService.getDefaultTimespan('6m');
this.radioGroupForm = this.formBuilder.group({ dateSpan: this.miningWindowPreference }); this.radioGroupForm = this.formBuilder.group({ dateSpan: this.miningWindowPreference });
this.radioGroupForm.controls.dateSpan.setValue(this.miningWindowPreference); this.radioGroupForm.controls.dateSpan.setValue(this.miningWindowPreference);

View File

@ -50,6 +50,7 @@ export class NodesPerISPChartComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
if (!this.widget) { if (!this.widget) {
this.seoService.setTitle($localize`:@@8573a1576789bd2c4faeaed23037c4917812c6cf:Lightning Nodes Per ISP`); this.seoService.setTitle($localize`:@@8573a1576789bd2c4faeaed23037c4917812c6cf:Lightning Nodes Per ISP`);
this.seoService.setDescription($localize`:@@meta.description.lightning.nodes-per-isp:Browse the top 100 ISPs hosting Lightning nodes along with stats like total number of nodes per ISP, aggregate BTC capacity per ISP, and more`);
} }
this.nodesPerAsObservable$ = combineLatest([ this.nodesPerAsObservable$ = combineLatest([
@ -105,7 +106,7 @@ export class NodesPerISPChartComponent implements OnInit {
); );
if (this.widget) { if (this.widget) {
this.sortBySubject.next(false); this.sortBySubject.next(false);
} }
} }