mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
17 changed files with 79 additions and 169 deletions
@ -0,0 +1,11 @@ |
|||||
|
export const paths = { |
||||
|
about: $localize`about`, |
||||
|
faq: $localize`faq`, |
||||
|
features: $localize`features`, |
||||
|
license: $localize`license`, |
||||
|
markets: $localize`markets`, |
||||
|
pricing: $localize`pricing`, |
||||
|
privacyPolicy: $localize`privacy-policy`, |
||||
|
register: $localize`register`, |
||||
|
resources: $localize`resources` |
||||
|
}; |
@ -1,16 +0,0 @@ |
|||||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|
||||
|
|
||||
import { NgModule } from '@angular/core'; |
|
||||
import { RouterModule, Routes } from '@angular/router'; |
|
||||
|
|
||||
import { DemoPageComponent } from './demo-page.component'; |
|
||||
|
|
||||
const routes: Routes = [ |
|
||||
{ path: '', component: DemoPageComponent, canActivate: [AuthGuard] } |
|
||||
]; |
|
||||
|
|
||||
@NgModule({ |
|
||||
imports: [RouterModule.forChild(routes)], |
|
||||
exports: [RouterModule] |
|
||||
}) |
|
||||
export class DemoPageRoutingModule {} |
|
@ -1,12 +0,0 @@ |
|||||
import { CommonModule } from '@angular/common'; |
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|
||||
|
|
||||
import { DemoPageRoutingModule } from './demo-page-routing.module'; |
|
||||
import { DemoPageComponent } from './demo-page.component'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [DemoPageComponent], |
|
||||
imports: [CommonModule, DemoPageRoutingModule], |
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|
||||
}) |
|
||||
export class DemoPageModule {} |
|
@ -1,21 +0,0 @@ |
|||||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|
||||
|
|
||||
import { NgModule } from '@angular/core'; |
|
||||
import { RouterModule, Routes } from '@angular/router'; |
|
||||
|
|
||||
import { FeaturesPageComponent } from './features-page.component'; |
|
||||
|
|
||||
const routes: Routes = [ |
|
||||
{ |
|
||||
canActivate: [AuthGuard], |
|
||||
component: FeaturesPageComponent, |
|
||||
path: '', |
|
||||
title: $localize`Features` |
|
||||
} |
|
||||
]; |
|
||||
|
|
||||
@NgModule({ |
|
||||
imports: [RouterModule.forChild(routes)], |
|
||||
exports: [RouterModule] |
|
||||
}) |
|
||||
export class FeaturesPageRoutingModule {} |
|
@ -1,22 +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 { FeaturesPageRoutingModule } from './features-page-routing.module'; |
|
||||
import { FeaturesPageComponent } from './features-page.component'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [FeaturesPageComponent], |
|
||||
imports: [ |
|
||||
CommonModule, |
|
||||
FeaturesPageRoutingModule, |
|
||||
GfPremiumIndicatorComponent, |
|
||||
MatButtonModule, |
|
||||
MatCardModule |
|
||||
], |
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|
||||
}) |
|
||||
export class FeaturesPageModule {} |
|
@ -1,20 +0,0 @@ |
|||||
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; |
|
||||
|
|
||||
import { NgModule } from '@angular/core'; |
|
||||
import { RouterModule, Routes } from '@angular/router'; |
|
||||
|
|
||||
import { I18nPageComponent } from './i18n-page.component'; |
|
||||
|
|
||||
const routes: Routes = [ |
|
||||
{ |
|
||||
canActivate: [AuthGuard], |
|
||||
component: I18nPageComponent, |
|
||||
path: '' |
|
||||
} |
|
||||
]; |
|
||||
|
|
||||
@NgModule({ |
|
||||
imports: [RouterModule.forChild(routes)], |
|
||||
exports: [RouterModule] |
|
||||
}) |
|
||||
export class I18nPageRoutingModule {} |
|
@ -1,12 +0,0 @@ |
|||||
import { CommonModule } from '@angular/common'; |
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|
||||
|
|
||||
import { I18nPageRoutingModule } from './i18n-page-routing.module'; |
|
||||
import { I18nPageComponent } from './i18n-page.component'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [I18nPageComponent], |
|
||||
imports: [CommonModule, I18nPageRoutingModule], |
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|
||||
}) |
|
||||
export class I18nPageModule {} |
|
@ -1,14 +0,0 @@ |
|||||
import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component'; |
|
||||
|
|
||||
import { NgModule } from '@angular/core'; |
|
||||
import { RouterModule, Routes } from '@angular/router'; |
|
||||
|
|
||||
const routes: Routes = [ |
|
||||
{ component: WebauthnPageComponent, path: '', title: $localize`Sign in` } |
|
||||
]; |
|
||||
|
|
||||
@NgModule({ |
|
||||
imports: [RouterModule.forChild(routes)], |
|
||||
exports: [RouterModule] |
|
||||
}) |
|
||||
export class WebauthnPageRoutingModule {} |
|
@ -1,21 +0,0 @@ |
|||||
import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component'; |
|
||||
import { GfLogoComponent } from '@ghostfolio/ui/logo'; |
|
||||
|
|
||||
import { CommonModule } from '@angular/common'; |
|
||||
import { NgModule } from '@angular/core'; |
|
||||
import { MatButtonModule } from '@angular/material/button'; |
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; |
|
||||
|
|
||||
import { WebauthnPageRoutingModule } from './webauthn-page-routing.module'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [WebauthnPageComponent], |
|
||||
imports: [ |
|
||||
CommonModule, |
|
||||
GfLogoComponent, |
|
||||
MatButtonModule, |
|
||||
MatProgressSpinnerModule, |
|
||||
WebauthnPageRoutingModule |
|
||||
] |
|
||||
}) |
|
||||
export class WebauthnPageModule {} |
|
Loading…
Reference in new issue