From f675325801532f516a6ccea598fac2b10bf13cdb Mon Sep 17 00:00:00 2001
From: Thomas <4159106+dtslvr@users.noreply.github.com>
Date: Mon, 20 Nov 2023 19:48:05 +0100
Subject: [PATCH] Add Whal
---
apps/api/src/assets/sitemap.xml | 16 ++++++++++
.../personal-finance-tools/products.ts | 8 +++++
.../products/whal-page.component.ts | 31 +++++++++++++++++++
3 files changed, 55 insertions(+)
create mode 100644 apps/client/src/app/pages/resources/personal-finance-tools/products/whal-page.component.ts
diff --git a/apps/api/src/assets/sitemap.xml b/apps/api/src/assets/sitemap.xml
index 982786f38..5b90f1e71 100644
--- a/apps/api/src/assets/sitemap.xml
+++ b/apps/api/src/assets/sitemap.xml
@@ -218,6 +218,10 @@
https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-wealthica
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-whal
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-yeekatee
${currentDate}T00:00:00+00:00
@@ -536,6 +540,10 @@
https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-wealthica
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-whal
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-yeekatee
${currentDate}T00:00:00+00:00
@@ -874,6 +882,10 @@
https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-wealthica
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-whal
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-yeekatee
${currentDate}T00:00:00+00:00
@@ -1058,6 +1070,10 @@
https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-wealthica
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-whal
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-yeekatee
${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 be2436ec1..16a4b1d2a 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
@@ -41,6 +41,7 @@ import { SumioPageComponent } from './products/sumio-page.component';
import { UtlunaPageComponent } from './products/utluna-page.component';
import { VyzerPageComponent } from './products/vyzer-page.component';
import { WealthicaPageComponent } from './products/wealthica-page.component';
+import { WhalPageComponent } from './products/whal-page.component';
import { YeekateePageComponent } from './products/yeekatee-page.component';
import { YnabPageComponent } from './products/ynab-page.component';
@@ -498,6 +499,13 @@ export const products: Product[] = [
pricingPerYear: '$50',
slogan: 'See all your investments in one place'
},
+ {
+ component: WhalPageComponent,
+ key: 'whal',
+ name: 'Whal',
+ origin: $localize`United States`,
+ slogan: 'Manage your investments in one place'
+ },
{
component: YeekateePageComponent,
founded: 2021,
diff --git a/apps/client/src/app/pages/resources/personal-finance-tools/products/whal-page.component.ts b/apps/client/src/app/pages/resources/personal-finance-tools/products/whal-page.component.ts
new file mode 100644
index 000000000..c1a2ddc98
--- /dev/null
+++ b/apps/client/src/app/pages/resources/personal-finance-tools/products/whal-page.component.ts
@@ -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-whal-page',
+ standalone: true,
+ styleUrls: ['../product-page-template.scss'],
+ templateUrl: '../product-page-template.html'
+})
+export class WhalPageComponent {
+ public product1 = products.find(({ key }) => {
+ return key === 'ghostfolio';
+ });
+
+ public product2 = products.find(({ key }) => {
+ return key === 'whal';
+ });
+
+ public routerLinkAbout = ['/' + $localize`about`];
+ public routerLinkFeatures = ['/' + $localize`features`];
+ public routerLinkResourcesPersonalFinanceTools = [
+ '/' + $localize`resources`,
+ 'personal-finance-tools'
+ ];
+}