mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Add new HashiStackMenu (#10105)
This commit is contained in:
@@ -3,9 +3,10 @@ const path = require('path')
|
||||
|
||||
module.exports = withHashicorp({
|
||||
defaultLayout: true,
|
||||
transpileModules: ['is-absolute-url', '@hashicorp/react-mega-nav'],
|
||||
transpileModules: ['is-absolute-url', '@hashicorp/react-.*'],
|
||||
mdx: { resolveIncludes: path.join(__dirname, 'pages') },
|
||||
})({
|
||||
svgo: { plugins: [{ removeViewBox: false }] },
|
||||
experimental: {
|
||||
modern: true,
|
||||
rewrites: () => [
|
||||
|
||||
29
website/package-lock.json
generated
29
website/package-lock.json
generated
@@ -1747,6 +1747,27 @@
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-global-styles/-/react-global-styles-4.4.0.tgz",
|
||||
"integrity": "sha512-lv6XR2plm2m3+qO6VE+RYquTzOODIt3mQ/1fBT1bn7wsR0qxFiuryW4JfsF94oCGk++LkDkRt/8V742HiT+fHw=="
|
||||
},
|
||||
"@hashicorp/react-hashi-stack-menu": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-hashi-stack-menu/-/react-hashi-stack-menu-1.0.3.tgz",
|
||||
"integrity": "sha512-bzO6fBodh61OrunYIMQKfGSJQUKIq70TQ74dt2trBPjBsgURHMCIkiMmKffjuSdJjhCxx2nb+y0/B/PwxxHxmg==",
|
||||
"requires": {
|
||||
"@hashicorp/react-inline-svg": "^1.0.2",
|
||||
"slugify": "1.3.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hashicorp/react-inline-svg": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-inline-svg/-/react-inline-svg-1.0.2.tgz",
|
||||
"integrity": "sha512-AAFnBslSTgnEr++dTbMn3sybAqvn7myIj88ijGigF6u11eSRiV64zqEcyYLQKWTV6dF4AvYoxiYC6GSOgiM0Yw=="
|
||||
},
|
||||
"slugify": {
|
||||
"version": "1.3.4",
|
||||
"resolved": "https://registry.npmjs.org/slugify/-/slugify-1.3.4.tgz",
|
||||
"integrity": "sha512-KP0ZYk5hJNBS8/eIjGkFDCzGQIoZ1mnfQRYS5WM3273z+fxGWXeN0fkwf2ebEweydv9tioZIHGZKoF21U07/nw=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"@hashicorp/react-head": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-head/-/react-head-1.1.1.tgz",
|
||||
@@ -1827,14 +1848,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"@hashicorp/react-mega-nav": {
|
||||
"version": "4.0.1-2",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-mega-nav/-/react-mega-nav-4.0.1-2.tgz",
|
||||
"integrity": "sha512-uDw+vk6YBDSR9sZoZa3oYd0N15UzYpuGLV1/2lofM6O4/IhEkWlGlsyWpzWABV+pcHBB4KOqnCUxpvmS9Ar61g==",
|
||||
"requires": {
|
||||
"@hashicorp/react-inline-svg": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"@hashicorp/react-product-downloader": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-4.0.2.tgz",
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
"@hashicorp/react-docs-sidenav": "^3.2.5",
|
||||
"@hashicorp/react-enterprise-alert": "^2.1.0",
|
||||
"@hashicorp/react-global-styles": "^4.4.0",
|
||||
"@hashicorp/react-hashi-stack-menu": "^1.0.3",
|
||||
"@hashicorp/react-head": "^1.1.1",
|
||||
"@hashicorp/react-hero": "3.1.2",
|
||||
"@hashicorp/react-image": "^2.0.1",
|
||||
"@hashicorp/react-inline-svg": "^1.0.0",
|
||||
"@hashicorp/react-mega-nav": "^4.0.1-2",
|
||||
"@hashicorp/react-product-downloader": "^4.0.2",
|
||||
"@hashicorp/react-search": "^2.1.0",
|
||||
"@hashicorp/react-section-header": "^2.0.0",
|
||||
|
||||
@@ -9,7 +9,7 @@ import NProgress from '@hashicorp/nextjs-scripts/lib/nprogress'
|
||||
import useAnchorLinkAnalytics from '@hashicorp/nextjs-scripts/lib/anchor-link-analytics'
|
||||
import HashiHead from '@hashicorp/react-head'
|
||||
import ProductSubnav from 'components/subnav'
|
||||
import MegaNav from '@hashicorp/react-mega-nav'
|
||||
import HashiStackMenu from '@hashicorp/react-hashi-stack-menu'
|
||||
import Footer from 'components/footer'
|
||||
import Error from './_error'
|
||||
|
||||
@@ -56,7 +56,7 @@ function App({ Component, pageProps }) {
|
||||
},
|
||||
]}
|
||||
/>
|
||||
<MegaNav product="Vault" />
|
||||
<HashiStackMenu />
|
||||
<ProductSubnav />
|
||||
<Component {...pageProps} />
|
||||
<Footer openConsentManager={openConsentManager} />
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
@import '~@hashicorp/react-vertical-text-block-list/dist/style.css';
|
||||
|
||||
/* Global Components - Transpiled */
|
||||
@import '~@hashicorp/react-mega-nav/style.css';
|
||||
|
||||
/* Local Components */
|
||||
@import '../components/before-after-diagram/style.css';
|
||||
|
||||
Reference in New Issue
Block a user