From d67201b260be706f21ceade83e93db15e1f635f8 Mon Sep 17 00:00:00 2001 From: Marc Stammerjohann Date: Wed, 25 Nov 2020 17:48:40 +0100 Subject: [PATCH 01/19] feat(series): add series page --- content/series/angular-scully-tailwind.md | 20 ++++++++++ content/series/nestjs-prisma.md | 15 +++++++ scully.notiz.config.ts | 11 ++++++ src/app/app-routing.module.ts | 5 +++ src/app/app.component.html | 7 ++++ src/app/app.module.ts | 4 +- src/app/components/article/article.module.ts | 2 - src/app/components/components.module.ts | 3 +- .../series-details-routing.module.ts | 12 ++++++ .../series-details.component.css | 2 + .../series-details.component.html | 30 ++++++++++++++ .../series-details.component.spec.ts | 25 ++++++++++++ .../series-details.component.ts | 17 ++++++++ .../series-details/series-details.module.ts | 18 +++++++++ src/app/pages/series/series-routing.module.ts | 31 +++++++++++++++ src/app/pages/series/series.component.css | 0 src/app/pages/series/series.component.html | 39 +++++++++++++++++++ src/app/pages/series/series.component.spec.ts | 25 ++++++++++++ src/app/pages/series/series.component.ts | 18 +++++++++ src/app/pages/series/series.module.ts | 12 ++++++ src/app/services/scully-content.service.ts | 4 ++ tailwind.config.js | 1 + 22 files changed, 295 insertions(+), 6 deletions(-) create mode 100644 content/series/angular-scully-tailwind.md create mode 100644 content/series/nestjs-prisma.md create mode 100644 src/app/pages/series-details/series-details-routing.module.ts create mode 100644 src/app/pages/series-details/series-details.component.css create mode 100644 src/app/pages/series-details/series-details.component.html create mode 100644 src/app/pages/series-details/series-details.component.spec.ts create mode 100644 src/app/pages/series-details/series-details.component.ts create mode 100644 src/app/pages/series-details/series-details.module.ts create mode 100644 src/app/pages/series/series-routing.module.ts create mode 100644 src/app/pages/series/series.component.css create mode 100644 src/app/pages/series/series.component.html create mode 100644 src/app/pages/series/series.component.spec.ts create mode 100644 src/app/pages/series/series.component.ts create mode 100644 src/app/pages/series/series.module.ts diff --git a/content/series/angular-scully-tailwind.md b/content/series/angular-scully-tailwind.md new file mode 100644 index 00000000..abc3c69c --- /dev/null +++ b/content/series/angular-scully-tailwind.md @@ -0,0 +1,20 @@ +--- +title: Angular + Scully + Tailwind CSS Series +description: Build Angular Jamstack application with Scully styled by Tailwind CSS +tags: + - Angular + - Scully + - Tailwind CSS +--- + +## What will you build? + +- Setting up Angular with Tailwind CSS +- Jamstack with Scully +- Deploy via GitHub Actions to firebase Hosting + +## Live Demo + +You are using right **now** a Scully application styled with Tailwind - notiz.dev uses the following stack: Angular, Scully, Tailwind CSS and Firebase Hosting. + +Try another [Live Demo](https://angular-scully-tailwindcss.web.app) of a Scully blog styled with Tailwind CSS. Find the full [source code](https://github.com/notiz-dev/angular-scully-tailwindcss) on GitHub. diff --git a/content/series/nestjs-prisma.md b/content/series/nestjs-prisma.md new file mode 100644 index 00000000..7a5b6d4d --- /dev/null +++ b/content/series/nestjs-prisma.md @@ -0,0 +1,15 @@ +--- +title: NestJS + Prisma Series +description: Build backend application with NestJS and access databases via Prisma +tags: + - NestJs + - Prisma +--- + +## What is is all about? + +- Integrate Prisma with NestJS +- Build GraphQL endpoit with NestJS +- Deployment of NestJS and Prisma to Heroku +- Dockerize NestJS and Prisma application +- more to come diff --git a/scully.notiz.config.ts b/scully.notiz.config.ts index 144e0f38..611526c8 100644 --- a/scully.notiz.config.ts +++ b/scully.notiz.config.ts @@ -46,6 +46,11 @@ setPluginConfig(SitemapPlugin, { priority: '0.9', sitemapFilename: 'sitemap-links.xml', }, + '/series/:slug': { + changeFreq: 'daily', + priority: '0.9', + sitemapFilename: 'sitemap-series.xml', + }, '/tags/:slug': { changeFreq: 'daily', priority: '0.9', @@ -80,6 +85,12 @@ export const config: ScullyConfig = { folder: './content/authors', }, }, + '/series/:slug': { + type: 'contentFolder', + slug: { + folder: './content/series', + }, + }, '/tags/:slug': { type: 'contentFolder', slug: { diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 77f9c9e0..f9dec847 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -27,6 +27,11 @@ const routes: Routes = [ loadChildren: () => import('./pages/tags/tags.module').then((m) => m.TagsModule), }, + { + path: 'series', + loadChildren: () => + import('./pages/series/series.module').then((m) => m.SeriesModule), + }, { path: 'confirm-subscription', loadChildren: () => diff --git a/src/app/app.component.html b/src/app/app.component.html index 39bfb0fa..054168b1 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -20,6 +20,13 @@ > Blog + + Series +