2020-10-11 19:23:52 +09:00
import { Component } from '@angular/core' ;
2021-03-05 21:07:31 +09:00
import { Env , StateService } from '../../services/state.service' ;
2023-08-30 23:59:51 +09:00
import { SeoService } from '../../services/seo.service' ;
2024-03-10 11:06:22 +09:00
import { OpenGraphService } from '../../services/opengraph.service' ;
2020-10-11 19:23:52 +09:00
@Component ( {
selector : 'app-terms-of-service' ,
templateUrl : './terms-of-service.component.html'
} )
export class TermsOfServiceComponent {
2021-03-05 21:07:31 +09:00
officialMempoolSpace = this . stateService . env . OFFICIAL_MEMPOOL_SPACE ;
constructor (
private stateService : StateService ,
2023-08-30 23:59:51 +09:00
private seoService : SeoService ,
2024-03-10 11:06:22 +09:00
private ogService : OpenGraphService ,
2021-03-05 21:07:31 +09:00
) { }
2023-08-30 23:59:51 +09:00
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.' ) ;
2024-03-10 11:06:22 +09:00
this . ogService . setManualOgImage ( 'tos.jpg' ) ;
2023-08-30 23:59:51 +09:00
}
2020-10-11 19:23:52 +09:00
}