mempool/frontend/src/app/components/terms-of-service/terms-of-service.component.ts
2024-03-10 11:06:22 +09:00

25 lines
877 B
TypeScript

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-terms-of-service',
templateUrl: './terms-of-service.component.html'
})
export class TermsOfServiceComponent {
officialMempoolSpace = this.stateService.env.OFFICIAL_MEMPOOL_SPACE;
constructor(
private stateService: StateService,
private seoService: SeoService,
private ogService: OpenGraphService,
) { }
ngOnInit(): void {
this.seoService.setTitle('Terms of Service');
this.seoService.setDescription('Out of respect for the Bitcoin community, the mempool.space website is Bitcoin Only and does not display any advertising.');
this.ogService.setManualOgImage('tos.jpg');
}
}