diff --git a/frontend/src/app/components/push-transaction/push-transaction.component.ts b/frontend/src/app/components/push-transaction/push-transaction.component.ts index cbc5d905a..a85cd47db 100644 --- a/frontend/src/app/components/push-transaction/push-transaction.component.ts +++ b/frontend/src/app/components/push-transaction/push-transaction.component.ts @@ -3,6 +3,7 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { ApiService } from '../../services/api.service'; import { StateService } from '../../services/state.service'; import { SeoService } from '../../services/seo.service'; +import { OpenGraphService } from '../../services/opengraph.service'; import { seoDescriptionNetwork } from '../../shared/common.utils'; @Component({ @@ -21,6 +22,7 @@ export class PushTransactionComponent implements OnInit { private apiService: ApiService, public stateService: StateService, private seoService: SeoService, + private ogService: OpenGraphService, ) { } ngOnInit(): void { @@ -30,6 +32,7 @@ export class PushTransactionComponent implements OnInit { this.seoService.setTitle($localize`:@@meta.title.push-tx:Broadcast Transaction`); this.seoService.setDescription($localize`:@@meta.description.push-tx:Broadcast a transaction to the ${this.stateService.network==='liquid'||this.stateService.network==='liquidtestnet'?'Liquid':'Bitcoin'}${seoDescriptionNetwork(this.stateService.network)} network using the transaction's hash.`); + this.ogService.setManualOgImage('broadcast-tx.jpg'); } postTx() { diff --git a/frontend/src/resources/previews/broadcast-tx.jpg b/frontend/src/resources/previews/broadcast-tx.jpg new file mode 100644 index 000000000..f035f9d80 Binary files /dev/null and b/frontend/src/resources/previews/broadcast-tx.jpg differ