diff --git a/website/package-lock.json b/website/package-lock.json index 9888c0bbaa..019d389e38 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -1826,6 +1826,16 @@ "is-absolute-url": "^3.0.3" } }, + "@hashicorp/react-markdown-page": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-markdown-page/-/react-markdown-page-0.1.0.tgz", + "integrity": "sha512-N/4BnlEv2oclmlVjpXnwAcgZn3qcp3F3Uz4SLBdiZG32OPDjaTXNGpfRIRqkTz9rtPNd8LVQ/R1gXC2lMw8bHQ==", + "requires": { + "@hashicorp/react-content": "^6.0.0", + "@hashicorp/react-head": "^1.1.6", + "gray-matter": "4.0.2" + } + }, "@hashicorp/react-product-downloader": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-4.1.5.tgz", diff --git a/website/package.json b/website/package.json index 4347ad223a..c4922555ea 100644 --- a/website/package.json +++ b/website/package.json @@ -15,6 +15,7 @@ "@hashicorp/react-head": "1.1.6", "@hashicorp/react-image": "3.0.3", "@hashicorp/react-inline-svg": "5.0.0", + "@hashicorp/react-markdown-page": "^0.1.0", "@hashicorp/react-product-downloader": "4.1.5", "@hashicorp/react-product-features-list": "3.0.0", "@hashicorp/react-section-header": "3.0.1", diff --git a/website/pages/security.jsx b/website/pages/security.jsx index 9913b7ffd4..cf08421aba 100644 --- a/website/pages/security.jsx +++ b/website/pages/security.jsx @@ -1,10 +1,10 @@ -import MarkdownPage from 'components/_temporary-markdown-page' -import generateStaticProps from 'components/_temporary-markdown-page/server' +import MarkdownPage from '@hashicorp/react-markdown-page' +import generateStaticProps from '@hashicorp/react-markdown-page/server' -export default function CommunityToolsPage({ staticProps }) { +export default function SecurityPage(staticProps) { return } export const getStaticProps = generateStaticProps({ - pagePath: 'content/community-plugins.mdx', + pagePath: 'content/security.mdx', })