mempool/frontend/src/app/components/privacy-policy/privacy-policy.component.ts

26 lines
965 B
TypeScript
Raw Normal View History

import { Component } from '@angular/core';
import { Env, StateService } from '../../services/state.service';
import { SeoService } from '../../services/seo.service';
2024-03-10 10:49:13 +09:00
import { OpenGraphService } from '../../services/opengraph.service';
@Component({
selector: 'app-privacy-policy',
templateUrl: './privacy-policy.component.html',
styleUrls: ['./privacy-policy.component.scss']
})
export class PrivacyPolicyComponent {
officialMempoolSpace = this.stateService.env.OFFICIAL_MEMPOOL_SPACE;
constructor(
private stateService: StateService,
private seoService: SeoService,
2024-03-10 10:49:13 +09:00
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®.');
2024-03-10 10:49:13 +09:00
this.ogService.setManualOgImage('privacy.jpg');
}
}