Skip to content

Commit

Permalink
[Website] Add new HashiStackMenu (#9042)
Browse files Browse the repository at this point in the history
* Add new HashiStackMenu

* Bump version

* Bump HSM version and rm meganav styles
  • Loading branch information
jmfury authored Oct 9, 2020
1 parent 3c3e54a commit 1b6a9ca
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
29 changes: 21 additions & 8 deletions website/package-lock.json

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

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@hashicorp/react-docs-page": "5.0.1",
"@hashicorp/react-docs-sidenav": "4.0.1",
"@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",
Expand Down
4 changes: 2 additions & 2 deletions website/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import NProgress from '@hashicorp/nextjs-scripts/lib/nprogress'
import { ErrorBoundary } from '@hashicorp/nextjs-scripts/lib/bugsnag'
import createConsentManager from '@hashicorp/nextjs-scripts/lib/consent-manager'
import useAnchorLinkAnalytics from '@hashicorp/nextjs-scripts/lib/anchor-link-analytics'
import MegaNav from '@hashicorp/react-mega-nav'
import HashiStackMenu from '@hashicorp/react-hashi-stack-menu'
import AlertBanner from '@hashicorp/react-alert-banner'
import HashiHead from '@hashicorp/react-head'
import Footer from 'components/footer'
Expand Down Expand Up @@ -48,7 +48,7 @@ function App({ Component, pageProps }) {
{ALERT_BANNER_ACTIVE && (
<AlertBanner {...alertBannerData} theme="nomad" />
)}
<MegaNav product="Nomad" />
<HashiStackMenu />
<ProductSubnav />
<div className={`content${ALERT_BANNER_ACTIVE ? ' banner' : ''}`}>
<Component {...pageProps} />
Expand Down
1 change: 0 additions & 1 deletion website/pages/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
@import '~@hashicorp/react-enterprise-alert/dist/style.css';
@import '~@hashicorp/react-hero/dist/style.css';
@import '~@hashicorp/react-logo-grid/dist/style.css';
@import '~@hashicorp/react-mega-nav/style.css';
@import '~@hashicorp/react-product-downloader/dist/style.css';
@import '~@hashicorp/react-search/dist/style.css';
@import '~@hashicorp/react-section-header/dist/style.css';
Expand Down

0 comments on commit 1b6a9ca

Please sign in to comment.