From eb09d7725187fca2e27734d1547ad24184c8138d Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Fri, 14 May 2021 21:15:20 +0200 Subject: [PATCH] Feature/move pricing section to page (#86) * Add a dedicated pricing page * Update changelog --- CHANGELOG.md | 1 + apps/client/src/app/app-routing.module.ts | 17 ++- .../components/header/header.component.html | 54 ++++++---- .../app/components/header/header.component.ts | 18 ++-- .../app/pages/about/about-page.component.ts | 13 +-- .../src/app/pages/about/about-page.html | 99 ----------------- .../src/app/pages/about/about-page.scss | 4 - .../pricing/pricing-page-routing.module.ts | 12 +++ .../pages/pricing/pricing-page.component.ts | 53 +++++++++ .../src/app/pages/pricing/pricing-page.html | 102 ++++++++++++++++++ .../app/pages/pricing/pricing-page.module.ts | 15 +++ .../src/app/pages/pricing/pricing-page.scss | 14 +++ 12 files changed, 258 insertions(+), 144 deletions(-) create mode 100644 apps/client/src/app/pages/pricing/pricing-page-routing.module.ts create mode 100644 apps/client/src/app/pages/pricing/pricing-page.component.ts create mode 100644 apps/client/src/app/pages/pricing/pricing-page.html create mode 100644 apps/client/src/app/pages/pricing/pricing-page.module.ts create mode 100644 apps/client/src/app/pages/pricing/pricing-page.scss diff --git a/CHANGELOG.md b/CHANGELOG.md index acbda889..10796bad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Harmonized the style of various tables - Keep the color per type when switching between _Initial_ and _Current_ in pie charts - Upgraded `chart.js` from version `3.0.2` to `3.2.1` +- Moved the pricing section to a dedicated page - Improved the style of the transaction filtering component ### Fixed diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.ts index 92056552..55f02513 100644 --- a/apps/client/src/app/app-routing.module.ts +++ b/apps/client/src/app/app-routing.module.ts @@ -28,11 +28,6 @@ const routes: Routes = [ loadChildren: () => import('./pages/admin/admin-page.module').then((m) => m.AdminPageModule) }, - { - path: 'auth', - loadChildren: () => - import('./pages/auth/auth-page.module').then((m) => m.AuthPageModule) - }, { path: 'analysis', loadChildren: () => @@ -40,11 +35,23 @@ const routes: Routes = [ (m) => m.AnalysisPageModule ) }, + { + path: 'auth', + loadChildren: () => + import('./pages/auth/auth-page.module').then((m) => m.AuthPageModule) + }, { path: 'home', loadChildren: () => import('./pages/home/home-page.module').then((m) => m.HomePageModule) }, + { + path: 'pricing', + loadChildren: () => + import('./pages/pricing/pricing-page.module').then( + (m) => m.PricingPageModule + ) + }, { path: 'report', loadChildren: () => diff --git a/apps/client/src/app/components/header/header.component.html b/apps/client/src/app/components/header/header.component.html index 883f8222..3290ff20 100644 --- a/apps/client/src/app/components/header/header.component.html +++ b/apps/client/src/app/components/header/header.component.html @@ -6,67 +6,76 @@ Overview Analysis X-ray Transactions Accounts Admin Control Resources + Pricing About