diff --git a/CHANGELOG.md b/CHANGELOG.md index 58f0d6ab0..c136e5f5d 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 Weeks 2024_ + ### Changed - Moved the chart of the holdings tab on the home page from experimental to general availability diff --git a/apps/api/src/assets/sitemap.xml b/apps/api/src/assets/sitemap.xml index 3a0f44ffd..5a49f6710 100644 --- a/apps/api/src/assets/sitemap.xml +++ b/apps/api/src/assets/sitemap.xml @@ -188,6 +188,10 @@ https://ghostfol.io/en/blog/2024/09/hacktoberfest-2024 ${currentDate}T00:00:00+00:00 + + https://ghostfol.io/en/blog/2024/11/black-weeks-2024 + ${currentDate}T00:00:00+00:00 + https://ghostfol.io/en/faq ${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 7b7cb09f2..6c929c388 100644 --- a/apps/api/src/middlewares/html-template.middleware.ts +++ b/apps/api/src/middlewares/html-template.middleware.ts @@ -87,6 +87,10 @@ const locales = { '/en/blog/2024/09/hacktoberfest-2024': { featureGraphicPath: 'assets/images/blog/hacktoberfest-2024.png', title: `Hacktoberfest 2024 - ${title}` + }, + '/en/blog/2024/11/black-weeks-2024': { + featureGraphicPath: 'assets/images/blog/black-weeks-2024.jpg', + title: `Black Weeks 2024 - ${title}` } }; diff --git a/apps/client/src/app/pages/blog/2024/11/black-weeks-2024/black-weeks-2024-page.component.ts b/apps/client/src/app/pages/blog/2024/11/black-weeks-2024/black-weeks-2024-page.component.ts new file mode 100644 index 000000000..5b380a3c8 --- /dev/null +++ b/apps/client/src/app/pages/blog/2024/11/black-weeks-2024/black-weeks-2024-page.component.ts @@ -0,0 +1,17 @@ +import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; + +import { Component } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { RouterModule } from '@angular/router'; + +@Component({ + host: { class: 'page' }, + imports: [GfPremiumIndicatorComponent, MatButtonModule, RouterModule], + selector: 'gf-black-weeks-2024-page', + standalone: true, + templateUrl: './black-weeks-2024-page.html' +}) +export class BlackWeeks2024PageComponent { + public routerLinkFeatures = ['/' + $localize`:snake-case:features`]; + public routerLinkPricing = ['/' + $localize`:snake-case:pricing`]; +} diff --git a/apps/client/src/app/pages/blog/2024/11/black-weeks-2024/black-weeks-2024-page.html b/apps/client/src/app/pages/blog/2024/11/black-weeks-2024/black-weeks-2024-page.html new file mode 100644 index 000000000..aeac1cf18 --- /dev/null +++ b/apps/client/src/app/pages/blog/2024/11/black-weeks-2024/black-weeks-2024-page.html @@ -0,0 +1,180 @@ +
+
+
+
+
+

Black Weeks 2024

+
2024-11-16
+ Black Week 2024 Teaser +
+
+

+ Take advantage of our exclusive Black Weeks offer + and save 25% on your annual + Ghostfolio Premium + + + subscription, plus get 3 months extra for free! +

+
+
+

+ Ghostfolio + is a powerful personal finance dashboard, designed to simplify your + investment journey. With this Open Source Software (OSS) platform, + you can: +

+
    +
  • + Unify your assets: Track your financial + portfolio, including stocks, ETFs, cryptocurrencies, etc. +
  • +
  • + Gain deeper insights: Access real-time analytics + and data-driven insights. +
  • +
  • + Make informed decisions: Empower yourself with + actionable information. +
  • +
+
+
+

+ Don’t miss this limited-time offer to optimize your financial + future. +

+

+ Get the Deal +

+

+ For more information, visit our + pricing page. +

+
+
+
    +
  • + 2024 +
  • +
  • + Black Friday +
  • +
  • + Black Weeks +
  • +
  • + Cryptocurrency +
  • +
  • + Dashboard +
  • +
  • + Deal +
  • +
  • + DeFi +
  • +
  • + ETF +
  • +
  • + Finance +
  • +
  • + Fintech +
  • +
  • + Ghostfolio +
  • +
  • + Ghostfolio Premium +
  • +
  • + Hosting +
  • +
  • + Investment +
  • +
  • + Open Source +
  • +
  • + OSS +
  • +
  • + Personal Finance +
  • +
  • + Portfolio +
  • +
  • + Portfolio Tracker +
  • +
  • + Pricing +
  • +
  • + Promotion +
  • +
  • + SaaS +
  • +
  • + Sale +
  • +
  • + 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 3c28543ea..d6c510c2a 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 @@ -165,15 +165,6 @@ const routes: Routes = [ ).then((c) => c.Hacktoberfest2023PageComponent), title: 'Hacktoberfest 2023' }, - { - canActivate: [AuthGuard], - path: '2023/11/hacktoberfest-2023-debriefing', - loadComponent: () => - import( - './2023/11/hacktoberfest-2023-debriefing/hacktoberfest-2023-debriefing-page.component' - ).then((c) => c.Hacktoberfest2023DebriefingPageComponent), - title: 'Hacktoberfest 2023 Debriefing' - }, { canActivate: [AuthGuard], path: '2023/11/black-week-2023', @@ -183,6 +174,15 @@ const routes: Routes = [ ), title: 'Black Week 2023' }, + { + canActivate: [AuthGuard], + path: '2023/11/hacktoberfest-2023-debriefing', + loadComponent: () => + import( + './2023/11/hacktoberfest-2023-debriefing/hacktoberfest-2023-debriefing-page.component' + ).then((c) => c.Hacktoberfest2023DebriefingPageComponent), + title: 'Hacktoberfest 2023 Debriefing' + }, { canActivate: [AuthGuard], path: '2024/09/hacktoberfest-2024', @@ -191,6 +191,15 @@ const routes: Routes = [ './2024/09/hacktoberfest-2024/hacktoberfest-2024-page.component' ).then((c) => c.Hacktoberfest2024PageComponent), title: 'Hacktoberfest 2024' + }, + { + canActivate: [AuthGuard], + path: '2024/11/black-weeks-2024', + loadComponent: () => + import('./2024/11/black-weeks-2024/black-weeks-2024-page.component').then( + (c) => c.BlackWeeks2024PageComponent + ), + title: 'Black Weeks 2024' } ]; diff --git a/apps/client/src/app/pages/blog/blog-page.html b/apps/client/src/app/pages/blog/blog-page.html index 73b4b0908..babeec4c6 100644 --- a/apps/client/src/app/pages/blog/blog-page.html +++ b/apps/client/src/app/pages/blog/blog-page.html @@ -8,6 +8,32 @@ finance + @if (hasPermissionForSubscription) { + + + + + + }
diff --git a/apps/client/src/assets/images/blog/black-weeks-2024.jpg b/apps/client/src/assets/images/blog/black-weeks-2024.jpg new file mode 100644 index 000000000..c71827c5e Binary files /dev/null and b/apps/client/src/assets/images/blog/black-weeks-2024.jpg differ