diff --git a/website/data/alert-banner.js b/website/data/alert-banner.js index 41a3e7b7c..9434c2d97 100644 --- a/website/data/alert-banner.js +++ b/website/data/alert-banner.js @@ -2,9 +2,12 @@ export const ALERT_BANNER_ACTIVE = true // https://github.com/hashicorp/web-components/tree/master/packages/alert-banner export default { - url: - 'https://www.hashicorp.com/blog/announcing-general-availability-of-hashicorp-nomad-0-12', - tag: 'ANNOUNCING', + linkText: 'Register now', + url: 'https://www.hashicorp.com/events/webinars/introducing-nomad-1-0', + tag: 'ANNOUNCEMENT', text: - 'Nomad 0.12 is now generally available, which includes 15+ new features and our breakthrough Multi-Cluster Deployment. Learn more!', + 'Join us on Oct 27th for the Nomad 1.0 Product Announcement with Armon Dadgar', + // Set the `expirationDate prop with a datetime string (e.g. `2020-01-31T12:00:00-07:00`) + // if you'd like the component to stop showing at or after a certain date + expirationDate: '2020-10-27T09:00:00-07:00', } diff --git a/website/package-lock.json b/website/package-lock.json index 19c9ac69f..c00ee1335 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -1598,11 +1598,10 @@ "integrity": "sha512-03qWTvECGrG2Z0cm/w71J/KmSBJrUem1QTdRuGFHLTPGgAdIgI90xWpYWmUjGw7gXrxJ/q1yY2JwbfpHwRrpPg==" }, "@hashicorp/react-alert-banner": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@hashicorp/react-alert-banner/-/react-alert-banner-3.1.0.tgz", - "integrity": "sha512-7Alg7nJ9EKa2mDU5zxutkEcSaiXE7JbSTALMhRFHRrg9P0cHcAkxMdetgQn2GY05dGCu0YoOr96f2nhMmu4hrw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-alert-banner/-/react-alert-banner-4.2.0.tgz", + "integrity": "sha512-mLi5caKU41L6ZMqQ/mQN9jrgPESzxIqxoKchmB0TpJqwHnUG46UPokWbQovXgtPnAUrXDyLYU0Sp3gaIsDuI9Q==", "requires": { - "@hashicorp/react-global-styles": "^4.4.0", "js-cookie": "2.2.0", "slugify": "1.3.4" }, diff --git a/website/package.json b/website/package.json index 8081f4476..3075d5e58 100644 --- a/website/package.json +++ b/website/package.json @@ -5,7 +5,7 @@ "author": "HashiCorp", "dependencies": { "@hashicorp/nextjs-scripts": "13.0.0", - "@hashicorp/react-alert-banner": "3.1.0", + "@hashicorp/react-alert-banner": "4.2.0", "@hashicorp/react-button": "3.0.2", "@hashicorp/react-call-to-action": "0.2.1", "@hashicorp/react-case-study-slider": "2.1.1", diff --git a/website/pages/style.css b/website/pages/style.css index 56ccc66f5..a9742a899 100644 --- a/website/pages/style.css +++ b/website/pages/style.css @@ -4,7 +4,7 @@ @import '~@hashicorp/react-global-styles/custom-properties/font.css'; @import '~@hashicorp/react-global-styles/_temporary-to-remove/layout.css'; @import '~@hashicorp/react-global-styles/_temporary-to-remove/tables.css'; -@import '~@hashicorp/react-alert-banner/dist/style.css'; +@import '~@hashicorp/react-alert-banner/style.css'; @import '~@hashicorp/nextjs-scripts/prism/style.css'; :root {