diff --git a/CHANGELOG.md b/CHANGELOG.md index 73f1a647..4f5fae02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Added a blog post: _Black Friday 2023_ + ### Changed - Upgraded `http-status-codes` from version `2.2.0` to `2.3.0` diff --git a/apps/api/src/assets/sitemap.xml b/apps/api/src/assets/sitemap.xml index 4fbc9efa..af168fc5 100644 --- a/apps/api/src/assets/sitemap.xml +++ b/apps/api/src/assets/sitemap.xml @@ -326,6 +326,10 @@ https://ghostfol.io/en/blog/2023/09/hacktoberfest-2023 ${currentDate}T00:00:00+00:00 + + https://ghostfol.io/en/blog/2023/11/black-friday-2023 + ${currentDate}T00:00:00+00:00 + https://ghostfol.io/en/blog/2023/11/hacktoberfest-2023-debriefing ${currentDate}T00:00:00+00:00 diff --git a/apps/api/src/middlewares/html-template.middleware.ts b/apps/api/src/middlewares/html-template.middleware.ts index 3d61ae94..a42eee9e 100644 --- a/apps/api/src/middlewares/html-template.middleware.ts +++ b/apps/api/src/middlewares/html-template.middleware.ts @@ -76,6 +76,10 @@ const locales = { featureGraphicPath: 'assets/images/blog/hacktoberfest-2023.png', title: `Hacktoberfest 2023 - ${title}` }, + '/en/blog/2023/11/black-friday-2023': { + featureGraphicPath: 'assets/images/blog/black-friday-2023.png', + title: `Black Friday 2023 - ${title}` + }, '/en/blog/2023/11/hacktoberfest-2023-debriefing': { featureGraphicPath: 'assets/images/blog/hacktoberfest-2023.png', title: `Hacktoberfest 2023 Debriefing - ${title}` diff --git a/apps/client/src/app/pages/blog/2023/11/black-friday-2023/black-friday-2023-page.component.ts b/apps/client/src/app/pages/blog/2023/11/black-friday-2023/black-friday-2023-page.component.ts new file mode 100644 index 00000000..4c9cbaa8 --- /dev/null +++ b/apps/client/src/app/pages/blog/2023/11/black-friday-2023/black-friday-2023-page.component.ts @@ -0,0 +1,16 @@ +import { Component } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { RouterModule } from '@angular/router'; +import { GfPremiumIndicatorModule } from '@ghostfolio/ui/premium-indicator'; + +@Component({ + host: { class: 'page' }, + imports: [GfPremiumIndicatorModule, MatButtonModule, RouterModule], + selector: 'gf-black-friday-2023-page', + standalone: true, + templateUrl: './black-friday-2023-page.html' +}) +export class BlackFriday2023PageComponent { + public routerLinkFeatures = ['/' + $localize`features`]; + public routerLinkPricing = ['/' + $localize`pricing`]; +} diff --git a/apps/client/src/app/pages/blog/2023/11/black-friday-2023/black-friday-2023-page.html b/apps/client/src/app/pages/blog/2023/11/black-friday-2023/black-friday-2023-page.html new file mode 100644 index 00000000..31753cb5 --- /dev/null +++ b/apps/client/src/app/pages/blog/2023/11/black-friday-2023/black-friday-2023-page.html @@ -0,0 +1,152 @@ +
+
+
+
+
+

Black Friday 2023

+
2023-11-18
+ Black Friday 2023 Teaser +
+
+

+ Get 33% off on our + Ghostfolio Premium + + annual plan for ambitious investors who need the full picture of + their financial assets. +

+
+
+

+ Ghostfolio + is a modern web application to manage your personal finance. The + software presents the current assets (stocks, ETFs, + cryptocurrencies, commodities etc.) in real time to make solid, + data-driven investment decisions. Check out the numerous + features to manage your + wealth. +

+
+
+

+ Snap the limited Black Friday 2023 deal before it’s gone. For + detailed information on plans and pricing, please visit our + pricing page. +

+

+ Get the Deal +

+
+
+
    +
  • + 2023 +
  • +
  • + Black Friday +
  • +
  • + Cloud +
  • +
  • + Cryptocurrency +
  • +
  • + Deal +
  • +
  • + ETF +
  • +
  • + Finance +
  • +
  • + Fintech +
  • +
  • + Ghostfolio +
  • +
  • + Ghostfolio Premium +
  • +
  • + Hosting +
  • +
  • + Investment +
  • +
  • + Open Source +
  • +
  • + OSS +
  • +
  • + Personal Finance +
  • +
  • + Portfolio +
  • +
  • + Portfolio Tracker +
  • +
  • + Pricing +
  • +
  • + SaaS +
  • +
  • + Software +
  • +
  • + Stock +
  • +
  • + Subscription +
  • +
  • + Wealth +
  • +
  • + Wealth Management +
  • +
  • + Web3 +
  • +
  • + Web 3.0 +
  • +
+
+ +
+
+
+
diff --git a/apps/client/src/app/pages/blog/blog-page-routing.module.ts b/apps/client/src/app/pages/blog/blog-page-routing.module.ts index 46b4b5fa..9f725960 100644 --- a/apps/client/src/app/pages/blog/blog-page-routing.module.ts +++ b/apps/client/src/app/pages/blog/blog-page-routing.module.ts @@ -172,6 +172,15 @@ const routes: Routes = [ './2023/11/hacktoberfest-2023-debriefing/hacktoberfest-2023-debriefing-page.component' ).then((c) => c.Hacktoberfest2023DebriefingPageComponent), title: 'Hacktoberfest 2023 Debriefing' + }, + { + canActivate: [AuthGuard], + path: '2023/11/black-friday-2023', + loadComponent: () => + import( + './2023/11/black-friday-2023/black-friday-2023-page.component' + ).then((c) => c.BlackFriday2023PageComponent), + title: 'Black Friday 2023' } ]; diff --git a/apps/client/src/app/pages/blog/blog-page.html b/apps/client/src/app/pages/blog/blog-page.html index e34bf9dd..2bf20720 100644 --- a/apps/client/src/app/pages/blog/blog-page.html +++ b/apps/client/src/app/pages/blog/blog-page.html @@ -8,6 +8,34 @@ finance + + + + +
diff --git a/apps/client/src/assets/images/blog/black-friday-2023.jpg b/apps/client/src/assets/images/blog/black-friday-2023.jpg new file mode 100644 index 00000000..45fe7414 Binary files /dev/null and b/apps/client/src/assets/images/blog/black-friday-2023.jpg differ