mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
6 changed files with 52 additions and 58 deletions
@ -1,21 +0,0 @@ |
|||||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|
||||
|
|
||||
import { NgModule } from '@angular/core'; |
|
||||
import { RouterModule, Routes } from '@angular/router'; |
|
||||
|
|
||||
import { PricingPageComponent } from './pricing-page.component'; |
|
||||
|
|
||||
const routes: Routes = [ |
|
||||
{ |
|
||||
canActivate: [AuthGuard], |
|
||||
component: PricingPageComponent, |
|
||||
path: '', |
|
||||
title: $localize`Pricing` |
|
||||
} |
|
||||
]; |
|
||||
|
|
||||
@NgModule({ |
|
||||
imports: [RouterModule.forChild(routes)], |
|
||||
exports: [RouterModule] |
|
||||
}) |
|
||||
export class PricingPageRoutingModule {} |
|
@ -1,28 +0,0 @@ |
|||||
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|
||||
|
|
||||
import { CommonModule } from '@angular/common'; |
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|
||||
import { MatButtonModule } from '@angular/material/button'; |
|
||||
import { MatCardModule } from '@angular/material/card'; |
|
||||
import { MatTooltipModule } from '@angular/material/tooltip'; |
|
||||
import { RouterModule } from '@angular/router'; |
|
||||
import { IonIcon } from '@ionic/angular/standalone'; |
|
||||
|
|
||||
import { PricingPageRoutingModule } from './pricing-page-routing.module'; |
|
||||
import { PricingPageComponent } from './pricing-page.component'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [PricingPageComponent], |
|
||||
imports: [ |
|
||||
CommonModule, |
|
||||
GfPremiumIndicatorComponent, |
|
||||
IonIcon, |
|
||||
MatButtonModule, |
|
||||
MatCardModule, |
|
||||
MatTooltipModule, |
|
||||
PricingPageRoutingModule, |
|
||||
RouterModule |
|
||||
], |
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|
||||
}) |
|
||||
export class PricingPageModule {} |
|
@ -0,0 +1,14 @@ |
|||||
|
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
||||
|
|
||||
|
import { Routes } from '@angular/router'; |
||||
|
|
||||
|
import { GfPricingPageComponent } from './pricing-page.component'; |
||||
|
|
||||
|
export const routes: Routes = [ |
||||
|
{ |
||||
|
canActivate: [AuthGuard], |
||||
|
component: GfPricingPageComponent, |
||||
|
path: '', |
||||
|
title: $localize`Pricing` |
||||
|
} |
||||
|
]; |
Loading…
Reference in new issue