Add preview image: faq

This commit is contained in:
hunicus 2024-03-10 10:26:06 +09:00
parent a5b16cf129
commit 26be760692
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { ActivatedRoute } from '@angular/router';
import { Env, StateService } from '../../services/state.service';
import { WebsocketService } from '../../services/websocket.service';
import { SeoService } from '../../services/seo.service';
import { OpenGraphService } from '../../services/opengraph.service';
@Component({
selector: 'app-docs',
@ -24,6 +25,7 @@ export class DocsComponent implements OnInit {
private stateService: StateService,
private websocket: WebsocketService,
private seoService: SeoService,
private ogService: OpenGraphService,
) { }
ngOnInit(): void {
@ -44,6 +46,7 @@ export class DocsComponent implements OnInit {
this.activeTab = 0;
this.seoService.setTitle($localize`:@@meta.title.docs.faq:FAQ`);
this.seoService.setDescription($localize`:@@meta.description.docs.faq:Get answers to common questions like: What is a mempool? Why isn't my transaction confirming? How can I run my own instance of The Mempool Open Source Project? And more.`);
this.ogService.setManualOgImage('faq.jpg');
} else if( url[1].path === "rest" ) {
this.activeTab = 1;
this.seoService.setTitle($localize`:@@meta.title.docs.rest:REST API`);

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB