From 03f2f333443e98df15721dfc6a7a31388889b30f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 16 Jun 2022 16:29:35 +0200 Subject: [PATCH] Feature/restructure landing page (#1021) * Restructure landing page * Update changelog --- CHANGELOG.md | 1 + .../components/header/header.component.html | 8 +-- .../src/app/pages/landing/landing-page.html | 61 +++++++++++-------- .../src/app/pages/landing/landing-page.scss | 45 ++++++++++---- 4 files changed, 71 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb5e6a49d..a38143e79 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 ### Changed +- Improved the landing page - Upgraded `angular` from version `13.3.6` to `14.0.2` - Upgraded `Nx` from version `14.1.4` to `14.3.5` - Upgraded `storybook` from version `6.4.22` to `6.5.9` diff --git a/apps/client/src/app/components/header/header.component.html b/apps/client/src/app/components/header/header.component.html index 493e719f3..18183103f 100644 --- a/apps/client/src/app/components/header/header.component.html +++ b/apps/client/src/app/components/header/header.component.html @@ -229,13 +229,7 @@ mat-button [routerLink]="['/']" > - + -
-
-
- -
- +
+
@@ -43,7 +52,7 @@

- Protect your wealth. Refine your + Protect your assets. Refine your personal investment strategy.

@@ -51,18 +60,6 @@ stocks, ETFs or cryptocurrencies and make solid, data-driven investment decisions.

-

- - Ghostfol.io Trailer - -

@@ -198,3 +195,19 @@
+ +
+
+
+
+
+
+
+
+ +
Wealth Management Software
+
+
+
diff --git a/apps/client/src/app/pages/landing/landing-page.scss b/apps/client/src/app/pages/landing/landing-page.scss index a76dc9aac..721c49c64 100644 --- a/apps/client/src/app/pages/landing/landing-page.scss +++ b/apps/client/src/app/pages/landing/landing-page.scss @@ -1,3 +1,5 @@ +@import '~apps/client/src/styles/ghostfolio-style'; + :host { display: block; @@ -13,19 +15,32 @@ } } - .intro-container { - margin-top: -5rem; + .intro { + font-size: 4vw; + line-height: 1; + + @media (max-width: 575.98px) { + font-size: 10vw; + } + } + + .outro-inner-container { + aspect-ratio: 16 / 9; + max-height: 66vh; - .intro-inner-container { - aspect-ratio: 16 / 9; - max-height: 66vh; + div { + background-image: url('/assets/intro.jpg'); + background-position: top left; + background-repeat: no-repeat; + background-size: contain; + } + } + + .video { + border: 1px solid rgba(var(--dark-dividers)); - .intro { - background-image: url('/assets/intro.jpg'); - background-position: top left; - background-repeat: no-repeat; - background-size: contain; - } + &:hover { + border-color: rgba(var(--palette-primary-500), 1); } } } @@ -37,9 +52,13 @@ } } - .intro-container { - .intro { + .outro-inner-container { + div { background-image: url('/assets/intro-dark.jpg') !important; } } + + .video { + border-color: rgba(var(--light-dividers)); + } }