Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

development to main #2

Merged
merged 7 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/features/Dynamic_menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
6 changes: 6 additions & 0 deletions pwa/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ export const wrapRootElement = ({ element }) => {
</QueryClientProvider>
);
};

export const onRenderBody = ({ setHeadComponents }) => {
const HeadComponents = [<title key={0}>Product Pagina</title>];

setHeadComponents(HeadComponents);
};
16 changes: 8 additions & 8 deletions pwa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading