|
|
@ -1,10 +1,9 @@ |
|
|
import { publicRoutes } from '@ghostfolio/common/routes/routes'; |
|
|
import { publicRoutes } from '@ghostfolio/common/routes/routes'; |
|
|
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|
|
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|
|
|
|
|
|
|
|
import { CUSTOM_ELEMENTS_SCHEMA, Component, OnDestroy } from '@angular/core'; |
|
|
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core'; |
|
|
import { MatCardModule } from '@angular/material/card'; |
|
|
import { MatCardModule } from '@angular/material/card'; |
|
|
import { RouterModule } from '@angular/router'; |
|
|
import { RouterModule } from '@angular/router'; |
|
|
import { Subject } from 'rxjs'; |
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
host: { class: 'page' }, |
|
|
host: { class: 'page' }, |
|
|
@ -14,13 +13,6 @@ import { Subject } from 'rxjs'; |
|
|
styleUrls: ['./self-hosting-page.scss'], |
|
|
styleUrls: ['./self-hosting-page.scss'], |
|
|
templateUrl: './self-hosting-page.html' |
|
|
templateUrl: './self-hosting-page.html' |
|
|
}) |
|
|
}) |
|
|
export class GfSelfHostingPageComponent implements OnDestroy { |
|
|
export class GfSelfHostingPageComponent { |
|
|
public pricingUrl = `https://ghostfol.io/${document.documentElement.lang}/${publicRoutes.pricing.path}`; |
|
|
public pricingUrl = `https://ghostfol.io/${document.documentElement.lang}/${publicRoutes.pricing.path}`; |
|
|
|
|
|
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|
|
|
this.unsubscribeSubject.next(); |
|
|
|
|
|
this.unsubscribeSubject.complete(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|