remove unused dependencies, adjust 404 link color

This commit is contained in:
Jeff Escalante 2020-05-19 14:50:54 -04:00
parent 306e8c84b6
commit 483ca3acf7
4 changed files with 2854 additions and 3903 deletions

6695
website/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,58 +4,45 @@
"version": "0.0.1", "version": "0.0.1",
"author": "HashiCorp", "author": "HashiCorp",
"dependencies": { "dependencies": {
"@bugsnag/js": "^7.0.1",
"@bugsnag/plugin-react": "^7.0.1",
"@hashicorp/mktg-assets": "^1.0.0-alpha.7",
"@hashicorp/nextjs-scripts": "^7.2.1", "@hashicorp/nextjs-scripts": "^7.2.1",
"@hashicorp/react-alert": "^2.0.0", "@hashicorp/react-alert": "^2.0.0",
"@hashicorp/react-alert-banner": "^3.0.13", "@hashicorp/react-alert-banner": "^3.1.0",
"@hashicorp/react-button": "^2.1.9", "@hashicorp/react-button": "^2.2.0",
"@hashicorp/react-call-to-action": "^0.1.6", "@hashicorp/react-call-to-action": "^0.2.0",
"@hashicorp/react-case-study-slider": "^2.0.13", "@hashicorp/react-case-study-slider": "^2.1.0",
"@hashicorp/react-code-block": "^1.2.7", "@hashicorp/react-code-block": "^1.2.7",
"@hashicorp/react-consent-manager": "^2.0.9",
"@hashicorp/react-content": "^3.0.0-0", "@hashicorp/react-content": "^3.0.0-0",
"@hashicorp/react-docs-page": "^1.3.1", "@hashicorp/react-docs-page": "^2.0.0",
"@hashicorp/react-docs-sidenav": "^3.2.3", "@hashicorp/react-docs-sidenav": "^3.2.3",
"@hashicorp/react-docs-sitemap": "^1.0.0",
"@hashicorp/react-enterprise-alert": "^2.1.0", "@hashicorp/react-enterprise-alert": "^2.1.0",
"@hashicorp/react-featured-slider": "^1.1.0", "@hashicorp/react-featured-slider": "^1.1.0",
"@hashicorp/react-footer": "^3.1.14", "@hashicorp/react-global-styles": "^4.4.0",
"@hashicorp/react-global-styles": "^4.2.0", "@hashicorp/react-head": "^1.0.0",
"@hashicorp/react-head": "^0.1.1",
"@hashicorp/react-hero": "^3.0.7",
"@hashicorp/react-image": "^2.0.1", "@hashicorp/react-image": "^2.0.1",
"@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-inline-svg": "^1.0.0",
"@hashicorp/react-logo-grid": "^2.0.11", "@hashicorp/react-logo-grid": "^2.1.0",
"@hashicorp/react-mega-nav": "^4.0.1-2", "@hashicorp/react-mega-nav": "^4.0.1-2",
"@hashicorp/react-product-downloader": "^3.1.2", "@hashicorp/react-product-downloader": "^3.2.0",
"@hashicorp/react-product-features-list": "^1.0.1", "@hashicorp/react-product-features-list": "^1.0.1",
"@hashicorp/react-section-header": "^2.0.0", "@hashicorp/react-section-header": "^2.0.0",
"@hashicorp/react-subnav": "^3.1.1", "@hashicorp/react-subnav": "^3.2.0",
"@hashicorp/react-tabs": "^0.4.0", "@hashicorp/react-tabs": "^0.4.0",
"@hashicorp/react-text-and-content": "^4.0.9", "@hashicorp/react-text-and-content": "^4.1.0",
"@hashicorp/react-text-split": "^0.2.6", "@hashicorp/react-text-split": "^0.3.0",
"@hashicorp/react-text-split-with-code": "0.0.9", "@hashicorp/react-text-split-with-code": "0.1.0",
"@hashicorp/react-text-split-with-image": "^1.2.6", "@hashicorp/react-text-split-with-image": "^1.3.0",
"@hashicorp/react-text-split-with-logo-grid": "^1.0.4", "@hashicorp/react-text-split-with-logo-grid": "^1.1.0",
"@hashicorp/react-use-cases": "^1.0.4", "@hashicorp/react-use-cases": "^1.0.4",
"@hashicorp/react-vertical-text-block-list": "^2.0.1", "@hashicorp/react-vertical-text-block-list": "^2.0.1",
"babel-plugin-import-glob-array": "^0.2.0", "babel-plugin-import-glob-array": "^0.2.0",
"highlight.js": "^10.0.1",
"imagemin-mozjpeg": "^8.0.0", "imagemin-mozjpeg": "^8.0.0",
"imagemin-optipng": "^7.1.0", "imagemin-optipng": "^7.1.0",
"imagemin-svgo": "^7.1.0", "imagemin-svgo": "^7.1.0",
"isomorphic-unfetch": "^3.0.0", "next": "9.4.1",
"marked": "^0.7.0",
"next": "9.3.5",
"nprogress": "^0.2.0",
"nuka-carousel": "^4.6.7", "nuka-carousel": "^4.6.7",
"react": "^16.13.1", "react": "^16.13.1",
"react-device-detect": "^1.12.0", "react-device-detect": "^1.12.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1"
"slugify": "^1.4.0",
"stringify-object": "^3.3.0"
}, },
"devDependencies": { "devDependencies": {
"dart-linkcheck": "^2.0.15", "dart-linkcheck": "^2.0.15",

View File

@ -1,4 +1,3 @@
import fetch from 'isomorphic-unfetch'
import VERSION from '../../data/version.js' import VERSION from '../../data/version.js'
import ProductDownloader from '@hashicorp/react-product-downloader' import ProductDownloader from '@hashicorp/react-product-downloader'
import Head from 'next/head' import Head from 'next/head'
@ -18,7 +17,6 @@ export default function DownloadsPage({ downloadData }) {
version: '1.8.0-beta1', // the actual version tag that was pushed to releases.hashicorp.com version: '1.8.0-beta1', // the actual version tag that was pushed to releases.hashicorp.com
}} }}
> >
<p> <p>
<a href="/downloads_tools">&raquo; Download Consul Tools</a> <a href="/downloads_tools">&raquo; Download Consul Tools</a>
</p> </p>

View File

@ -10,12 +10,7 @@
--highlight-color: var(--consul); --highlight-color: var(--consul);
} }
@import '~@hashicorp/react-newsletter-signup-form/dist/style.css';
@import '~@hashicorp/react-text-input/dist/style.css';
@import '~@hashicorp/react-button/dist/style.css'; @import '~@hashicorp/react-button/dist/style.css';
@import '~@hashicorp/react-consent-manager/dist/style.css';
@import '~@hashicorp/react-checkbox-input/dist/style.css';
@import '~@hashicorp/react-hero/dist/style.css';
@import '~@hashicorp/react-section-header/dist/style.css'; @import '~@hashicorp/react-section-header/dist/style.css';
@import '~@hashicorp/react-logo-grid/dist/style.css'; @import '~@hashicorp/react-logo-grid/dist/style.css';
@import '~@hashicorp/react-product-features-list/dist/style.css'; @import '~@hashicorp/react-product-features-list/dist/style.css';
@ -26,13 +21,13 @@
@import '~@hashicorp/react-subnav/dist/style.css'; @import '~@hashicorp/react-subnav/dist/style.css';
@import '~@hashicorp/react-text-and-content/dist/style.css'; @import '~@hashicorp/react-text-and-content/dist/style.css';
@import '~@hashicorp/react-consent-manager/dist/style.css'; @import '~@hashicorp/react-consent-manager/dist/style.css';
@import '~@hashicorp/react-toggle/dist/style.css';
@import '~@hashicorp/react-alert/dist/style.css'; @import '~@hashicorp/react-alert/dist/style.css';
@import '~@hashicorp/react-text-split/dist/style.css'; @import '~@hashicorp/react-text-split/dist/style.css';
@import '~@hashicorp/react-text-split-with-code/dist/style.css'; @import '~@hashicorp/react-text-split-with-code/dist/style.css';
@import '~@hashicorp/react-enterprise-alert/dist/style.css'; @import '~@hashicorp/react-enterprise-alert/dist/style.css';
@import '~@hashicorp/react-mega-nav/style.css'; @import '~@hashicorp/react-mega-nav/style.css';
@import '~@hashicorp/react-docs-page/style.css'; @import '~@hashicorp/react-docs-page/style.css';
@import '~@hashicorp/react-section-header/dist/style.css';
@import '~@hashicorp/react-call-to-action/dist/style.css'; @import '~@hashicorp/react-call-to-action/dist/style.css';
@import '~@hashicorp/react-case-study-slider/dist/style.css'; @import '~@hashicorp/react-case-study-slider/dist/style.css';
@import '~@hashicorp/react-tabs/dist/style.css'; @import '~@hashicorp/react-tabs/dist/style.css';
@ -116,6 +111,10 @@ footer .content {
line-height: 1.313em; line-height: 1.313em;
} }
} }
& a {
color: var(--highlight-color);
}
} }
/* Layout Styles */ /* Layout Styles */