diff --git a/README.md b/README.md index 206684442..9cfbac5b7 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ New Relic employees as well as other customers to get help and share best practi If you are looking for configuration help or more information about New Relic's products please visit the [New Relic Explorers Hub](https://discuss.newrelic.com/) +Like all official New Relic open source projects, there's a related +[Community topic](https://discuss.newrelic.com/t/developer-newrelic-com/108069) +in the New Relic Explorers Hub. + ## 🚧 Contributing We welcome contributions to the New Relic Developer Site. Please review our diff --git a/src/components/IconReference.js b/src/components/IconReference.js index a91bb3696..639485faf 100644 --- a/src/components/IconReference.js +++ b/src/components/IconReference.js @@ -11,7 +11,7 @@ const IconReference = ({ type }) => { className={styles.button} type="button" key={type} - onClick={() => copyIcon(type)} + onClick={() => copyIcon(`Icon.TYPE.${type}`)} > {copied ? 'Copied!' : type} diff --git a/src/markdown-pages/automate-workflows/index.mdx b/src/markdown-pages/automate-workflows/index.mdx index 68f623fc4..aadaa155b 100644 --- a/src/markdown-pages/automate-workflows/index.mdx +++ b/src/markdown-pages/automate-workflows/index.mdx @@ -3,6 +3,8 @@ path: '/automate-workflows' title: 'Automate workflows' template: 'OverviewTemplate' description: '' +redirects: + - /use-cases/workflow-automation --- diff --git a/src/markdown-pages/build-apps/add-time-picker-guide.mdx b/src/markdown-pages/build-apps/add-time-picker-guide.mdx index 82043b742..1c62b4d4f 100644 --- a/src/markdown-pages/build-apps/add-time-picker-guide.mdx +++ b/src/markdown-pages/build-apps/add-time-picker-guide.mdx @@ -161,15 +161,15 @@ Add the `PlatformStateContext` component to the end of the import statement so i Just below the current `return` insert this code for the `PlatformStateContext` component: - ```js - - {(platformState) => { - return ( - // ADD THE CURRENT RETURN CODE HERE - ) +```js + + {(platformState) => { + return ( + // ADD THE CURRENT RETURN CODE HERE + ) }} - - ``` + +``` diff --git a/src/markdown-pages/build-apps/build-hello-world-app.mdx b/src/markdown-pages/build-apps/build-hello-world-app.mdx index fa83b3dfd..d04a6bd7f 100644 --- a/src/markdown-pages/build-apps/build-hello-world-app.mdx +++ b/src/markdown-pages/build-apps/build-hello-world-app.mdx @@ -113,7 +113,7 @@ If you followed all the steps in the CLI wizard, you now have files under a new - Open a browser and go to [https://one.newrelic.com/?nerdpacks='local'](https://one.newrelic.com/?nerdpacks='local') (this url is also shown in the terminal). + Open a browser and go to [https://one.newrelic.com/?nerdpacks=local](https://one.newrelic.com/?nerdpacks=local) (this url is also shown in the terminal). diff --git a/src/templates/OverviewTemplate.js b/src/templates/OverviewTemplate.js index 5dce6cb31..d65ce367b 100644 --- a/src/templates/OverviewTemplate.js +++ b/src/templates/OverviewTemplate.js @@ -22,25 +22,30 @@ const OverviewTemplate = ({ data }) => { {title} {body} {!!guides?.nodes.length && ( - - - {guides?.nodes.map(({ frontmatter }, index) => ( - - ))} - - + <> +

{`Guides to ${title.toLowerCase()}`}

+ + + {guides?.nodes.map(({ frontmatter }, index) => ( + + ))} + + + )} ); diff --git a/src/templates/OverviewTemplate.module.scss b/src/templates/OverviewTemplate.module.scss index 02d9ee698..bee96fdf0 100644 --- a/src/templates/OverviewTemplate.module.scss +++ b/src/templates/OverviewTemplate.module.scss @@ -1,3 +1,7 @@ .guideListing { margin-top: 2rem; } + +.subtitle { + margin-top: 2rem; +}