@@ -85,7 +70,9 @@
Features
- Frequently Asked Questions (FAQ)
+ Frequently Asked Questions (FAQ)
License
diff --git a/apps/client/src/app/app.component.ts b/apps/client/src/app/app.component.ts
index 6a8a3a64d..6c5b6c6a4 100644
--- a/apps/client/src/app/app.component.ts
+++ b/apps/client/src/app/app.component.ts
@@ -38,6 +38,8 @@ export class AppComponent implements OnDestroy, OnInit {
public hasPermissionToAccessFearAndGreedIndex: boolean;
public info: InfoItem;
public pageTitle: string;
+ public routerLinkFaq = ['/' + $localize`faq`];
+ public showFooter = false;
public user: User;
public version = environment.version;
@@ -89,6 +91,19 @@ export class AppComponent implements OnDestroy, OnInit {
const urlSegments = urlSegmentGroup.segments;
this.currentRoute = urlSegments[0].path;
+ this.showFooter =
+ (this.currentRoute === 'blog' ||
+ this.currentRoute === this.routerLinkFaq[0].slice(1) ||
+ this.currentRoute === 'features' ||
+ this.currentRoute === 'markets' ||
+ this.currentRoute === 'open' ||
+ this.currentRoute === 'p' ||
+ this.currentRoute === 'pricing' ||
+ this.currentRoute === 'resources' ||
+ this.currentRoute === 'register' ||
+ this.currentRoute === 'start') &&
+ this.deviceType !== 'mobile';
+
if (this.deviceType === 'mobile') {
setTimeout(() => {
const index = this.title.getTitle().indexOf('–');
diff --git a/apps/client/src/app/core/auth.guard.ts b/apps/client/src/app/core/auth.guard.ts
index f5ee34f52..821a37e12 100644
--- a/apps/client/src/app/core/auth.guard.ts
+++ b/apps/client/src/app/core/auth.guard.ts
@@ -4,8 +4,8 @@ import {
Router,
RouterStateSnapshot
} from '@angular/router';
+import { paths } from '@ghostfolio/client/app-routing.module';
import { routes as aboutRoutes } from '@ghostfolio/client/pages/about/routes';
-import { routes as faqRoutes } from '@ghostfolio/client/pages/faq/routes';
import { routes as featuresRoutes } from '@ghostfolio/client/pages/features/routes';
import { routes as marketsRoutes } from '@ghostfolio/client/pages/markets/routes';
import { routes as pricingRoutes } from '@ghostfolio/client/pages/pricing/routes';
@@ -23,7 +23,7 @@ export class AuthGuard {
...aboutRoutes.map((route) => `/${route}`),
'/blog',
'/demo',
- ...faqRoutes.map((route) => `/${route}`),
+ `/${paths.faq}`,
...featuresRoutes.map((route) => `/${route}`),
...marketsRoutes.map((route) => `/${route}`),
'/open',
diff --git a/apps/client/src/app/pages/about/overview/about-overview-page.component.ts b/apps/client/src/app/pages/about/overview/about-overview-page.component.ts
index 9e33985d0..c20b47bf1 100644
--- a/apps/client/src/app/pages/about/overview/about-overview-page.component.ts
+++ b/apps/client/src/app/pages/about/overview/about-overview-page.component.ts
@@ -18,6 +18,7 @@ export class AboutOverviewPageComponent implements OnDestroy, OnInit {
public hasPermissionForStatistics: boolean;
public hasPermissionForSubscription: boolean;
public isLoggedIn: boolean;
+ public routerLinkFaq = ['/' + $localize`faq`];
public user: User;
public version = environment.version;
diff --git a/apps/client/src/app/pages/about/overview/about-overview-page.html b/apps/client/src/app/pages/about/overview/about-overview-page.html
index ce468415e..b155cb0ab 100644
--- a/apps/client/src/app/pages/about/overview/about-overview-page.html
+++ b/apps/client/src/app/pages/about/overview/about-overview-page.html
@@ -139,7 +139,7 @@
class="py-4 w-100"
color="primary"
mat-flat-button
- [routerLink]="['/faq']"
+ [routerLink]="routerLinkFaq"
>Frequently Asked Questions (FAQ)
diff --git a/apps/client/src/app/pages/faq/routes.ts b/apps/client/src/app/pages/faq/routes.ts
deleted file mode 100644
index b14b3d88b..000000000
--- a/apps/client/src/app/pages/faq/routes.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-export const routes = [
- 'faq',
- /////
- 'domande-piu-frequenti',
- 'foire-aux-questions',
- 'haeufig-gestellte-fragen',
- 'perguntas-mais-frequentes',
- 'preguntas-mas-frecuentes',
- 'vaak-gestelde-vragen'
-] as const;
diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlf
index 973e976c2..36d1d227c 100644
--- a/apps/client/src/locales/messages.de.xlf
+++ b/apps/client/src/locales/messages.de.xlf
@@ -18,7 +18,7 @@
Das Ausfallrisiko beim Börsenhandel kann erheblich sein. Es ist nicht ratsam, Geld zu investieren, welches du kurzfristig benötigst.
apps/client/src/app/app.component.html
- 181,182
+ 168,169
@@ -758,7 +758,7 @@
Ressourcen
apps/client/src/app/app.component.html
- 73
+ 58
apps/client/src/app/components/header/header.component.html
@@ -778,7 +778,7 @@
Preise
apps/client/src/app/app.component.html
- 97
+ 84
apps/client/src/app/components/header/header.component.html
@@ -898,7 +898,7 @@
Über
apps/client/src/app/app.component.html
- 79
+ 64
apps/client/src/app/components/header/header.component.html
@@ -938,7 +938,7 @@
Features
apps/client/src/app/app.component.html
- 86
+ 71
apps/client/src/app/components/header/header.component.html
@@ -954,7 +954,7 @@
Märkte
apps/client/src/app/app.component.html
- 71
+ 56
apps/client/src/app/components/header/header.component.html
@@ -1450,7 +1450,7 @@
Datenschutzbestimmungen
apps/client/src/app/app.component.html
- 101
+ 88
apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.html
@@ -1462,7 +1462,7 @@
Blog
apps/client/src/app/app.component.html
- 81
+ 66
apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.html
@@ -1530,7 +1530,7 @@
Changelog
apps/client/src/app/app.component.html
- 84
+ 69
apps/client/src/app/pages/about/changelog/changelog-page.html
@@ -1542,7 +1542,7 @@
Lizenz
apps/client/src/app/app.component.html
- 91
+ 78
apps/client/src/app/pages/about/license/license-page.html
@@ -3182,7 +3182,7 @@
Community
apps/client/src/app/app.component.html
- 116
+ 103
apps/client/src/app/pages/features/features-page.html
@@ -4078,7 +4078,7 @@
Private Finanzen
apps/client/src/app/app.component.html
- 68
+ 53
@@ -4086,7 +4086,7 @@
Häufig gestellte Fragen (FAQ)
apps/client/src/app/app.component.html
- 88
+ 74
@@ -7621,7 +7621,7 @@
405
-
+
Get the full picture of your personal finances across multiple platforms.
Verschaffe dir einen vollständigen Überblick deiner persönlichen Finanzen über mehrere Plattformen hinweg.
@@ -7637,6 +7637,22 @@
350
+
+ faq
+ haeufig-gestellte-fragen
+
+ apps/client/src/app/app-routing.module.ts
+ 14
+
+
+ apps/client/src/app/app.component.ts
+ 41
+
+
+ apps/client/src/app/pages/about/overview/about-overview-page.component.ts
+ 21
+
+