Add preview image: privacy policy

This commit is contained in:
hunicus 2024-03-10 10:49:13 +09:00
parent 68af577104
commit 60ad0b71c5
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { Component } from '@angular/core';
import { Env, StateService } from '../../services/state.service';
import { SeoService } from '../../services/seo.service';
import { OpenGraphService } from '../../services/opengraph.service';
@Component({
selector: 'app-privacy-policy',
@ -13,10 +14,12 @@ export class PrivacyPolicyComponent {
constructor(
private stateService: StateService,
private seoService: SeoService,
private ogService: OpenGraphService,
) { }
ngOnInit(): void {
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.ogService.setManualOgImage('privacy.jpg');
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB