diff --git a/superpage/package-lock.json b/superpage/package-lock.json index 402f5e1..086d1f0 100644 --- a/superpage/package-lock.json +++ b/superpage/package-lock.json @@ -26,6 +26,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "react-hook-form": "^7.56.0", + "smartypants": "^0.2.2", "tailwindcss": "^4.0.13", "vanilla-cookieconsent": "^3.1.0", "zod": "^3.24.3" @@ -7120,6 +7121,16 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "license": "MIT" }, + "node_modules/smartypants": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/smartypants/-/smartypants-0.2.2.tgz", + "integrity": "sha512-TzobUYoEft/xBtb2voRPryAUIvYguG0V7Tt3de79I1WfXgCwelqVsGuZSnu3GFGRZhXR90AeEYIM+icuB/S06Q==", + "license": "BSD-3-Clause", + "bin": { + "smartypants": "bin/smartypants.js", + "smartypantsu": "bin/smartypantsu.js" + } + }, "node_modules/smol-toml": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.4.tgz", diff --git a/superpage/package.json b/superpage/package.json index edbadbd..baa590a 100644 --- a/superpage/package.json +++ b/superpage/package.json @@ -27,6 +27,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "react-hook-form": "^7.56.0", + "smartypants": "^0.2.2", "tailwindcss": "^4.0.13", "vanilla-cookieconsent": "^3.1.0", "zod": "^3.24.3" diff --git a/superpage/src/components/Course/BuyDropdown.astro b/superpage/src/components/Course/BuyDropdown.astro index 338db73..10bc079 100644 --- a/superpage/src/components/Course/BuyDropdown.astro +++ b/superpage/src/components/Course/BuyDropdown.astro @@ -5,7 +5,7 @@
diff --git a/superpage/src/components/Course/HeaderNav.astro b/superpage/src/components/Course/HeaderNav.astro index c9b8e4f..4cceb5c 100644 --- a/superpage/src/components/Course/HeaderNav.astro +++ b/superpage/src/components/Course/HeaderNav.astro @@ -9,7 +9,7 @@ const courses = await getCollection( ({ data }) => data.draft != true, ); -const { title } = Astro.props; +const { title, course } = Astro.props; ---