Add preview image: privacy policy
This commit is contained in:
parent
68af577104
commit
60ad0b71c5
@ -1,6 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { Env, StateService } from '../../services/state.service';
|
import { Env, StateService } from '../../services/state.service';
|
||||||
import { SeoService } from '../../services/seo.service';
|
import { SeoService } from '../../services/seo.service';
|
||||||
|
import { OpenGraphService } from '../../services/opengraph.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-privacy-policy',
|
selector: 'app-privacy-policy',
|
||||||
@ -13,10 +14,12 @@ export class PrivacyPolicyComponent {
|
|||||||
constructor(
|
constructor(
|
||||||
private stateService: StateService,
|
private stateService: StateService,
|
||||||
private seoService: SeoService,
|
private seoService: SeoService,
|
||||||
|
private ogService: OpenGraphService,
|
||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.seoService.setTitle('Privacy Policy');
|
this.seoService.setTitle('Privacy Policy');
|
||||||
this.seoService.setDescription('Trusted third parties are security holes, as are trusted first parties...you should only trust your own self-hosted instance of The Mempool Open Source Project®.');
|
this.seoService.setDescription('Trusted third parties are security holes, as are trusted first parties...you should only trust your own self-hosted instance of The Mempool Open Source Project®.');
|
||||||
|
this.ogService.setManualOgImage('privacy.jpg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
frontend/src/resources/previews/privacy.jpg
Normal file
BIN
frontend/src/resources/previews/privacy.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
Loading…
x
Reference in New Issue
Block a user