From 36bd6164e66f5a2b88648904f44bfd3db4bbbf4b Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 16 Oct 2022 19:35:09 +0200 Subject: [PATCH] Feature/improve wording on landing page (#1366) * Improve wording * Update changelog --- CHANGELOG.md | 1 + .../pages/landing/landing-page.component.ts | 11 ++++- .../src/app/pages/landing/landing-page.html | 36 ++++++++++----- apps/client/src/assets/sitemap.xml | 36 +++++++-------- apps/client/src/index.html | 44 +++++++++---------- 5 files changed, 75 insertions(+), 53 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c53af5c02..b1e1b7b8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the portfolio evolution chart - Removed the data source type `RAKUTEN` - Refactored the appearance (dark mode) in user settings (from `appearance` to `colorScheme`) +- Improved the wording on the landing page ## 1.204.1 - 15.10.2022 diff --git a/apps/client/src/app/pages/landing/landing-page.component.ts b/apps/client/src/app/pages/landing/landing-page.component.ts index 7fef8b092..34757b2ca 100644 --- a/apps/client/src/app/pages/landing/landing-page.component.ts +++ b/apps/client/src/app/pages/landing/landing-page.component.ts @@ -3,6 +3,7 @@ import { DataService } from '@ghostfolio/client/services/data.service'; import { Statistics } from '@ghostfolio/common/interfaces/statistics.interface'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { format } from 'date-fns'; +import { DeviceDetectorService } from 'ngx-device-detector'; import { Subject } from 'rxjs'; @Component({ @@ -14,6 +15,7 @@ import { Subject } from 'rxjs'; export class LandingPageComponent implements OnDestroy, OnInit { public currentYear = format(new Date(), 'yyyy'); public demoAuthToken: string; + public deviceType: string; public hasPermissionForStatistics: boolean; public statistics: Statistics; public testimonials = [ @@ -41,7 +43,10 @@ export class LandingPageComponent implements OnDestroy, OnInit { private unsubscribeSubject = new Subject(); - public constructor(private dataService: DataService) { + public constructor( + private dataService: DataService, + private deviceService: DeviceDetectorService + ) { const { globalPermissions, statistics } = this.dataService.fetchInfo(); this.hasPermissionForStatistics = hasPermission( @@ -52,7 +57,9 @@ export class LandingPageComponent implements OnDestroy, OnInit { this.statistics = statistics; } - public ngOnInit() {} + public ngOnInit() { + this.deviceType = this.deviceService.getDeviceInfo().deviceType; + } public ngOnDestroy() { this.unsubscribeSubject.next(); diff --git a/apps/client/src/app/pages/landing/landing-page.html b/apps/client/src/app/pages/landing/landing-page.html index 9ddd83106..a56c4de47 100644 --- a/apps/client/src/app/pages/landing/landing-page.html +++ b/apps/client/src/app/pages/landing/landing-page.html @@ -1,10 +1,15 @@
-

+

Manage your wealth like a boss

-
+

+ Ghostfolio is a privacy-first, open source dashboard to manage your + personal finances. Break down your asset allocation, know your net worth + and make solid, data-driven investment decisions. +

+
-
+
-
+
-
+ -
+ -
+ -
+

Protect your assets. Refine your personal investment strategy.

-

+

Ghostfolio empowers busy people to keep track of stocks, ETFs or - cryptocurrencies and make solid, data-driven investment decisions. + cryptocurrencies without being tracked.

@@ -220,7 +234,7 @@
diff --git a/apps/client/src/assets/sitemap.xml b/apps/client/src/assets/sitemap.xml index 58c9b9673..72f35bece 100644 --- a/apps/client/src/assets/sitemap.xml +++ b/apps/client/src/assets/sitemap.xml @@ -6,74 +6,74 @@ http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> https://ghostfol.io - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/de/blog/2021/07/hallo-ghostfolio - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/about - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/about/changelog - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog/2021/07/hello-ghostfolio - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog/2022/01/ghostfolio-first-months-in-open-source - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog/2022/07/ghostfolio-meets-internet-identity - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog/2022/07/how-do-i-get-my-finances-in-order - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog/2022/08/500-stars-on-github - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/blog/2022/10/hacktoberfest-2022 - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/demo - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/faq - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/features - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/markets - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/pricing - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/register - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 https://ghostfol.io/en/resources - 2022-10-01T00:00:00+00:00 + 2022-10-16T00:00:00+00:00 diff --git a/apps/client/src/index.html b/apps/client/src/index.html index 27ec03287..bc2bdd366 100644 --- a/apps/client/src/index.html +++ b/apps/client/src/index.html @@ -6,65 +6,65 @@ - - + + - + - + - - - - + + + + - + - +