mirror of https://github.com/ghostfolio/ghostfolio
Thomas Kaul
1 year ago
committed by
GitHub
4 changed files with 116 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||
|
import { CommonModule } from '@angular/common'; |
||||
|
import { Component } from '@angular/core'; |
||||
|
import { MatButtonModule } from '@angular/material/button'; |
||||
|
import { RouterModule } from '@angular/router'; |
||||
|
|
||||
|
import { products } from '../products'; |
||||
|
|
||||
|
@Component({ |
||||
|
host: { class: 'page' }, |
||||
|
imports: [CommonModule, MatButtonModule, RouterModule], |
||||
|
selector: 'gf-finwise-page', |
||||
|
standalone: true, |
||||
|
styleUrls: ['../product-page-template.scss'], |
||||
|
templateUrl: '../product-page-template.html' |
||||
|
}) |
||||
|
export class FinWisePageComponent { |
||||
|
public product1 = products.find(({ key }) => { |
||||
|
return key === 'ghostfolio'; |
||||
|
}); |
||||
|
|
||||
|
public product2 = products.find(({ key }) => { |
||||
|
return key === 'finwise'; |
||||
|
}); |
||||
|
|
||||
|
public routerLinkAbout = ['/' + $localize`about`]; |
||||
|
public routerLinkFeatures = ['/' + $localize`features`]; |
||||
|
public routerLinkResourcesPersonalFinanceTools = [ |
||||
|
'/' + $localize`resources`, |
||||
|
'personal-finance-tools' |
||||
|
]; |
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
import { CommonModule } from '@angular/common'; |
||||
|
import { Component } from '@angular/core'; |
||||
|
import { MatButtonModule } from '@angular/material/button'; |
||||
|
import { RouterModule } from '@angular/router'; |
||||
|
|
||||
|
import { products } from '../products'; |
||||
|
|
||||
|
@Component({ |
||||
|
host: { class: 'page' }, |
||||
|
imports: [CommonModule, MatButtonModule, RouterModule], |
||||
|
selector: 'gf-vyzer-page', |
||||
|
standalone: true, |
||||
|
styleUrls: ['../product-page-template.scss'], |
||||
|
templateUrl: '../product-page-template.html' |
||||
|
}) |
||||
|
export class VyzerPageComponent { |
||||
|
public product1 = products.find(({ key }) => { |
||||
|
return key === 'ghostfolio'; |
||||
|
}); |
||||
|
|
||||
|
public product2 = products.find(({ key }) => { |
||||
|
return key === 'vyzer'; |
||||
|
}); |
||||
|
|
||||
|
public routerLinkAbout = ['/' + $localize`about`]; |
||||
|
public routerLinkFeatures = ['/' + $localize`features`]; |
||||
|
public routerLinkResourcesPersonalFinanceTools = [ |
||||
|
'/' + $localize`resources`, |
||||
|
'personal-finance-tools' |
||||
|
]; |
||||
|
} |
Loading…
Reference in new issue