From 88922e648e75676edc6255e3aa2f3a1250b2270f Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 19 Feb 2024 12:44:56 +0100 Subject: [PATCH 1/2] Updated packages --- pwa/gatsby-ssr.js | 6 ++++++ pwa/package-lock.json | 16 ++++++++-------- pwa/package.json | 4 ++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/pwa/gatsby-ssr.js b/pwa/gatsby-ssr.js index 22ea075..7771938 100644 --- a/pwa/gatsby-ssr.js +++ b/pwa/gatsby-ssr.js @@ -23,3 +23,9 @@ export const wrapRootElement = ({ element }) => { ); }; + +export const onRenderBody = ({ setHeadComponents }) => { + const HeadComponents = [Product Pagina]; + + setHeadComponents(HeadComponents); +}; diff --git a/pwa/package-lock.json b/pwa/package-lock.json index 8c08c9f..adadce5 100644 --- a/pwa/package-lock.json +++ b/pwa/package-lock.json @@ -8,8 +8,8 @@ "name": "product-website-template", "version": "1.0.0", "dependencies": { - "@conduction/components": "2.2.45", - "@conduction/theme": "1.1.17", + "@conduction/components": "2.2.47", + "@conduction/theme": "1.1.22", "@fortawesome/fontawesome-svg-core": "^6.5.0", "@fortawesome/free-brands-svg-icons": "6.5.0", "@fortawesome/free-regular-svg-icons": "^6.5.0", @@ -2136,9 +2136,9 @@ } }, "node_modules/@conduction/components": { - "version": "2.2.45", - "resolved": "https://registry.npmjs.org/@conduction/components/-/components-2.2.45.tgz", - "integrity": "sha512-QVgrl82cKLFRY87fXyD9HkW4zfmP1jKIThfU7F171JhJfG2GW1ksIQtuUOBYaYfYxW9c+pohytNWNToFiqcLGg==", + "version": "2.2.47", + "resolved": "https://registry.npmjs.org/@conduction/components/-/components-2.2.47.tgz", + "integrity": "sha512-CYZzS29ZLl2KfqW8ZboXhsiX6+h0aM1Q2Cj65vJ/NflFDBvguQ9w7JC6ouCYGGS+YuNEGlAEFQzHjkqWnWcqoQ==", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.4.2", "@fortawesome/free-solid-svg-icons": "^6.4.2", @@ -2156,9 +2156,9 @@ } }, "node_modules/@conduction/theme": { - "version": "1.1.17", - "resolved": "https://registry.npmjs.org/@conduction/theme/-/theme-1.1.17.tgz", - "integrity": "sha512-kC7Bbp+tWIGIOjZlJ5lwlQk96Blc2MrlsJ4vdZJw9rU4lUT08W0yvJ/VpCbj7J90yEMKBQ/yZAR6YIpYYE8qag==", + "version": "1.1.22", + "resolved": "https://registry.npmjs.org/@conduction/theme/-/theme-1.1.22.tgz", + "integrity": "sha512-3WgssudeUFDOK7ORoJ7huPn7HcgN9GLxUy/w7l/CPL0N0jrZmnQYvVOjWW5+7jq+txrpNGCNstLirXAT3S8Vtg==", "hasInstallScript": true, "dependencies": { "@nl-design-system-unstable/rotterdam-design-tokens": "^1.0.0-alpha.100", diff --git a/pwa/package.json b/pwa/package.json index 5c3c571..f7ec065 100644 --- a/pwa/package.json +++ b/pwa/package.json @@ -23,8 +23,8 @@ "prepare": "cd .. && husky install" }, "dependencies": { - "@conduction/components": "2.2.45", - "@conduction/theme": "1.1.17", + "@conduction/components": "2.2.47", + "@conduction/theme": "1.1.22", "@fortawesome/fontawesome-svg-core": "^6.5.0", "@fortawesome/free-brands-svg-icons": "6.5.0", "@fortawesome/free-regular-svg-icons": "^6.5.0", From b00a2d522211622f4267f053685e15f52a64772a Mon Sep 17 00:00:00 2001 From: Remko Date: Tue, 27 Feb 2024 08:57:26 +0100 Subject: [PATCH 2/2] Fixed typo --- docs/features/Dynamic_menu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/Dynamic_menu.md b/docs/features/Dynamic_menu.md index d46eb7c..dd7f2bc 100644 --- a/docs/features/Dynamic_menu.md +++ b/docs/features/Dynamic_menu.md @@ -13,7 +13,7 @@ A menu item consists of the following properties | Property Name | Options/Type | Optional Values and Their Use | | -------------------------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | `label` | `string` | The name of the menu item. | -| `type` | `internal`/`extrernal` | The type of the menu item of which it links to, to an external or internal page. | +| `type` | `internal`/`external` | The type of the menu item of which it links to, to an external or internal page. | | `current` | `object` | An object that when true will set the menu item to current. | | `current.pathname` | `string` | The pathname on whitch path the menu item is current. pathname = "/Roadmap" is current at https://opencatalogi.github.io/product-website-template/Roadmap/ | | `handleClick` | `object` | An object that tells the menu item what to do when clicked on. |