Add preview image: faq
This commit is contained in:
		
							parent
							
								
									a5b16cf129
								
							
						
					
					
						commit
						26be760692
					
				| @ -3,6 +3,7 @@ import { ActivatedRoute } from '@angular/router'; | |||||||
| import { Env, StateService } from '../../services/state.service'; | import { Env, StateService } from '../../services/state.service'; | ||||||
| import { WebsocketService } from '../../services/websocket.service'; | import { WebsocketService } from '../../services/websocket.service'; | ||||||
| import { SeoService } from '../../services/seo.service'; | import { SeoService } from '../../services/seo.service'; | ||||||
|  | import { OpenGraphService } from '../../services/opengraph.service'; | ||||||
| 
 | 
 | ||||||
| @Component({ | @Component({ | ||||||
|   selector: 'app-docs', |   selector: 'app-docs', | ||||||
| @ -24,6 +25,7 @@ export class DocsComponent implements OnInit { | |||||||
|     private stateService: StateService, |     private stateService: StateService, | ||||||
|     private websocket: WebsocketService, |     private websocket: WebsocketService, | ||||||
|     private seoService: SeoService, |     private seoService: SeoService, | ||||||
|  |     private ogService: OpenGraphService, | ||||||
|   ) { } |   ) { } | ||||||
| 
 | 
 | ||||||
|   ngOnInit(): void { |   ngOnInit(): void { | ||||||
| @ -44,6 +46,7 @@ export class DocsComponent implements OnInit { | |||||||
|       this.activeTab = 0; |       this.activeTab = 0; | ||||||
|       this.seoService.setTitle($localize`:@@meta.title.docs.faq:FAQ`); |       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.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" ) { |     } else if( url[1].path === "rest" ) { | ||||||
|       this.activeTab = 1; |       this.activeTab = 1; | ||||||
|       this.seoService.setTitle($localize`:@@meta.title.docs.rest:REST API`); |       this.seoService.setTitle($localize`:@@meta.title.docs.rest:REST API`); | ||||||
|  | |||||||
							
								
								
									
										
											BIN
										
									
								
								frontend/src/resources/previews/faq.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								frontend/src/resources/previews/faq.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 44 KiB | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user