From a72e98f73c55f497c13e5dd3315f14f615b6f333 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sat, 13 Jan 2024 13:06:18 +0100
Subject: [PATCH] Add AllInvestView (#2861)
---
apps/api/src/assets/sitemap.xml | 16 ++++++++++
.../personal-finance-tools/products.ts | 10 ++++++
.../products/allinvestview-page.component.ts | 32 +++++++++++++++++++
3 files changed, 58 insertions(+)
create mode 100644 apps/client/src/app/pages/resources/personal-finance-tools/products/allinvestview-page.component.ts
diff --git a/apps/api/src/assets/sitemap.xml b/apps/api/src/assets/sitemap.xml
index 7e2b64cfc..232c4720a 100644
--- a/apps/api/src/assets/sitemap.xml
+++ b/apps/api/src/assets/sitemap.xml
@@ -58,6 +58,10 @@
https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-8figures
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-allinvestview
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-allvue-systems
${currentDate}T00:00:00+00:00
@@ -392,6 +396,10 @@
https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-8figures
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-allinvestview
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-allvue-systems
${currentDate}T00:00:00+00:00
@@ -746,6 +754,10 @@
https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-8figures
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-allinvestview
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-allvue-systems
${currentDate}T00:00:00+00:00
@@ -946,6 +958,10 @@
https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-8figures
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-allinvestview
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-allvue-systems
${currentDate}T00:00:00+00:00
diff --git a/apps/client/src/app/pages/resources/personal-finance-tools/products.ts b/apps/client/src/app/pages/resources/personal-finance-tools/products.ts
index 5d808ab60..c4e6380ce 100644
--- a/apps/client/src/app/pages/resources/personal-finance-tools/products.ts
+++ b/apps/client/src/app/pages/resources/personal-finance-tools/products.ts
@@ -1,5 +1,6 @@
import { Product } from '@ghostfolio/common/interfaces';
+import { AllInvestViewPageComponent } from './products/allinvestview-page.component';
import { AllvueSystemsPageComponent } from './products/allvue-systems-page.component';
import { AltooPageComponent } from './products/altoo-page.component';
import { BasilFinancePageComponent } from './products/basil-finance-page.component';
@@ -71,6 +72,15 @@ export const products: Product[] = [
slogan: 'Open Source Wealth Management',
useAnonymously: true
},
+ {
+ component: AllInvestViewPageComponent,
+ founded: 2023,
+ hasSelfHostingAbility: false,
+ key: 'allinvestview',
+ languages: ['English'],
+ name: 'AllInvestView',
+ slogan: 'All your Investments in One View'
+ },
{
component: AllvueSystemsPageComponent,
founded: 2019,
diff --git a/apps/client/src/app/pages/resources/personal-finance-tools/products/allinvestview-page.component.ts b/apps/client/src/app/pages/resources/personal-finance-tools/products/allinvestview-page.component.ts
new file mode 100644
index 000000000..d946883f2
--- /dev/null
+++ b/apps/client/src/app/pages/resources/personal-finance-tools/products/allinvestview-page.component.ts
@@ -0,0 +1,32 @@
+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';
+import { BaseProductPageComponent } from './base-page.component';
+
+@Component({
+ host: { class: 'page' },
+ imports: [CommonModule, MatButtonModule, RouterModule],
+ selector: 'gf-allinvestview-systems-page',
+ standalone: true,
+ styleUrls: ['../product-page-template.scss'],
+ templateUrl: '../product-page-template.html'
+})
+export class AllInvestViewPageComponent extends BaseProductPageComponent {
+ public product1 = products.find(({ key }) => {
+ return key === 'ghostfolio';
+ });
+
+ public product2 = products.find(({ key }) => {
+ return key === 'allinvestview';
+ });
+
+ public routerLinkAbout = ['/' + $localize`about`];
+ public routerLinkFeatures = ['/' + $localize`features`];
+ public routerLinkResourcesPersonalFinanceTools = [
+ '/' + $localize`resources`,
+ 'personal-finance-tools'
+ ];
+}