From cea569c987a4c67cd64f5df95e9202628db68858 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sun, 4 Feb 2024 12:10:22 +0100
Subject: [PATCH] Add Fina (#2956)
---
apps/api/src/assets/sitemap.xml | 16 ++++++++++
.../personal-finance-tools/products.ts | 13 ++++++++
.../products/fina-page.component.ts | 32 +++++++++++++++++++
3 files changed, 61 insertions(+)
create mode 100644 apps/client/src/app/pages/resources/personal-finance-tools/products/fina-page.component.ts
diff --git a/apps/api/src/assets/sitemap.xml b/apps/api/src/assets/sitemap.xml
index bd80c7f34..11a1822b3 100644
--- a/apps/api/src/assets/sitemap.xml
+++ b/apps/api/src/assets/sitemap.xml
@@ -114,6 +114,10 @@
https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-exirio
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-fina
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/de/ressourcen/personal-finance-tools/open-source-alternative-zu-finary
${currentDate}T00:00:00+00:00
@@ -456,6 +460,10 @@
https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-exirio
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-fina
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/en/resources/personal-finance-tools/open-source-alternative-to-finary
${currentDate}T00:00:00+00:00
@@ -818,6 +826,10 @@
https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-exirio
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-fina
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/it/risorse/personal-finance-tools/alternativa-open-source-a-finary
${currentDate}T00:00:00+00:00
@@ -1026,6 +1038,10 @@
https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-exirio
${currentDate}T00:00:00+00:00
+
+ https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-fina
+ ${currentDate}T00:00:00+00:00
+
https://ghostfol.io/nl/bronnen/personal-finance-tools/open-source-alternatief-voor-finary
${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 20f190a55..6214a33a9 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
@@ -15,6 +15,7 @@ import { DivvyDiaryPageComponent } from './products/divvydiary-page.component';
import { EightFiguresPageComponent } from './products/eightfigures-page.component';
import { EmpowerPageComponent } from './products/empower-page.component';
import { ExirioPageComponent } from './products/exirio-page.component';
+import { FinaPageComponent } from './products/fina-page.component';
import { FinaryPageComponent } from './products/finary-page.component';
import { FinWisePageComponent } from './products/finwise-page.component';
import { FolisharePageComponent } from './products/folishare-page.component';
@@ -220,6 +221,18 @@ export const products: Product[] = [
pricingPerYear: '$100',
slogan: 'All your wealth, in one place.'
},
+ {
+ component: FinaPageComponent,
+ founded: 2023,
+ hasFreePlan: true,
+ hasSelfHostingAbility: false,
+ key: 'fina',
+ languages: ['English'],
+ name: 'Fina',
+ origin: $localize`United States`,
+ pricingPerYear: '$115',
+ slogan: 'Flexible Financial Management'
+ },
{
component: FinaryPageComponent,
founded: 2020,
diff --git a/apps/client/src/app/pages/resources/personal-finance-tools/products/fina-page.component.ts b/apps/client/src/app/pages/resources/personal-finance-tools/products/fina-page.component.ts
new file mode 100644
index 000000000..328d9896e
--- /dev/null
+++ b/apps/client/src/app/pages/resources/personal-finance-tools/products/fina-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-fina-page',
+ standalone: true,
+ styleUrls: ['../product-page-template.scss'],
+ templateUrl: '../product-page-template.html'
+})
+export class FinaPageComponent extends BaseProductPageComponent {
+ public product1 = products.find(({ key }) => {
+ return key === 'ghostfolio';
+ });
+
+ public product2 = products.find(({ key }) => {
+ return key === 'fina';
+ });
+
+ public routerLinkAbout = ['/' + $localize`about`];
+ public routerLinkFeatures = ['/' + $localize`features`];
+ public routerLinkResourcesPersonalFinanceTools = [
+ '/' + $localize`resources`,
+ 'personal-finance-tools'
+ ];
+}