Prepare for build-time code highlighting (#12118)
* Bump to nextjs-scripts 14 * Pull in latest code-block * Bump to stable nextjs-scripts
This commit is contained in:
parent
f47773baca
commit
cf5341c997
@ -1,6 +1,7 @@
|
||||
.root {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
flex-direction: column;
|
||||
@ -37,7 +38,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 50%;
|
||||
width: 46%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@ -4,7 +4,7 @@ console.log(`Environment: ${process.env.HASHI_ENV}`)
|
||||
|
||||
module.exports = withHashicorp({
|
||||
defaultLayout: true,
|
||||
transpileModules: ['is-absolute-url', '@hashicorp/react-.*'],
|
||||
transpileModules: ['is-absolute-url'],
|
||||
})({
|
||||
svgo: {
|
||||
plugins: [
|
||||
|
||||
2335
website/package-lock.json
generated
2335
website/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,9 +5,9 @@
|
||||
"author": "HashiCorp",
|
||||
"dependencies": {
|
||||
"@hashicorp/mktg-global-styles": "2.1.0",
|
||||
"@hashicorp/nextjs-scripts": "13.0.0-canary.1",
|
||||
"@hashicorp/nextjs-scripts": "14.0.1",
|
||||
"@hashicorp/react-button": "4.0.0",
|
||||
"@hashicorp/react-code-block": "2.0.4",
|
||||
"@hashicorp/react-code-block": "3.0.3",
|
||||
"@hashicorp/react-docs-page": "^10.3.2",
|
||||
"@hashicorp/react-hashi-stack-menu": "^1.0.11",
|
||||
"@hashicorp/react-head": "1.1.6",
|
||||
|
||||
@ -31,16 +31,6 @@
|
||||
composes: block;
|
||||
background: var(--vagrant);
|
||||
color: white;
|
||||
|
||||
& :global(.g-code-block) {
|
||||
width: 100%;
|
||||
margin-left: 50px;
|
||||
overflow: scroll;
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* enforce consistency section */
|
||||
|
||||
@ -10,15 +10,15 @@
|
||||
|
||||
@import '~@hashicorp/react-button/styles/index.css';
|
||||
@import '~@hashicorp/react-code-block/style.css';
|
||||
@import '~@hashicorp/react-consent-manager/dist/style.css';
|
||||
@import '~@hashicorp/react-consent-manager/style.css';
|
||||
@import '~@hashicorp/react-content/style.css';
|
||||
@import '~@hashicorp/react-docs-page/style.css';
|
||||
@import '~@hashicorp/react-docs-sidenav/style.css';
|
||||
@import '~@hashicorp/react-search/style.css';
|
||||
@import '~@hashicorp/react-section-header/style.css';
|
||||
@import '~@hashicorp/react-subnav/style.css';
|
||||
@import '~@hashicorp/react-tabs/dist/style.css';
|
||||
@import '~@hashicorp/react-toggle/dist/style.css';
|
||||
@import '~@hashicorp/react-tabs/style.css';
|
||||
@import '~@hashicorp/react-toggle/style.css';
|
||||
@import '~@hashicorp/react-vertical-text-block-list/style.css';
|
||||
@import '~@hashicorp/react-product-downloader/dist/style.css';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user