File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11import { themes as prismThemes } from 'prism-react-renderer' ;
22import type { Config } from '@docusaurus/types' ;
33import type * as Preset from '@docusaurus/preset-classic' ;
4+ import { courseLink , workshopLink } from './links' ;
45
56// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
67
@@ -68,11 +69,11 @@ const config: Config = {
6869 } ,
6970 {
7071 label : 'πΊ Video Course' ,
71- href : 'https://courses.marmicode.io/courses/pragmatic-angular-testing?utm_source=angular-vitest-mini-workshop&utm_medium=sidenav&coupon=NGDE_KITCHEN_SPECIAL' ,
72+ href : courseLink ,
7273 } ,
7374 {
7475 label : 'π¨π»βπ« 3-Day Workshop' ,
75- href : 'https://luma.com/27f85isx?coupon=NGDE_KITCHEN_SPECIAL' ,
76+ href : workshopLink ,
7677 } ,
7778 ] ,
7879 } ,
Original file line number Diff line number Diff line change 1+ const todayCoupon = 'NGPOLAND_PERIOGI' ;
2+ export const courseLink = `https://courses.marmicode.io/courses/pragmatic-angular-testing?utm_source=cookbook&utm_medium=sidenav&coupon=${ todayCoupon } ` ;
3+ export const workshopLink = `https://luma.com/27f85isx?coupon=${ todayCoupon } ` ;
Original file line number Diff line number Diff line change 11import type { SidebarsConfig } from '@docusaurus/plugin-content-docs' ;
2+ import { courseLink , workshopLink } from './links' ;
23
34const sidebars : SidebarsConfig = {
45 instructions : [
@@ -11,12 +12,12 @@ const sidebars: SidebarsConfig = {
1112 {
1213 type : 'link' ,
1314 label : 'π¨π»βπ« 3-Day Workshop (30% off)' ,
14- href : 'https://luma.com/27f85isx?coupon=NGDE_KITCHEN_SPECIAL' ,
15+ href : workshopLink ,
1516 } ,
1617 {
1718 type : 'link' ,
1819 label : 'πΊ Video Course (60% off)' ,
19- href : 'https://courses.marmicode.io/courses/pragmatic-angular-testing?utm_source=angular-vitest-mini-workshop&utm_medium=sidenav&coupon=NGDE_KITCHEN_SPECIAL' ,
20+ href : courseLink ,
2021 } ,
2122 ] ,
2223 } ,
You canβt perform that action at this time.
0 commit comments